- Помогите! syntax error: unexpected end of file bash , skb7, 11:10 , 10-Мрт-14 (1)
> где поправитьДобавить в конец скрипта строку:
done
- Помогите! syntax error: unexpected end of file bash , vadian72, 20:54 , 10-Мрт-14 (2)
>> где поправить > Добавить в конец скрипта строку: > > done > Спасибо вам теперь ок блин надо маны учить,только вот ещё вопросик последний как правильно в этом скрипте в wget авторизацию логин и пароль засунуть в целях безопасности
- Помогите! syntax error: unexpected end of file bash , skb7, 22:16 , 10-Мрт-14 (3)
> как правильно в этом скрипте в wget авторизацию логин и пароль > засунуть в целях безопасности Из мана на wget: --http-user=user --http-password=password Specify the username user and password password on an HTTP server. According to the type of the challenge, Wget will encode them using either the "basic" (insecure), the "digest", or the Windows "NTLM" authentication scheme. Another way to specify username and password is in the URL itself. Either method reveals your password to anyone who bothers to run "ps". To prevent the passwords from being seen, store them in .wgetrc or .netrc, and make sure to protect those files from other users with "chmod". If the passwords are really important, do not leave them lying in those files either---edit the files and delete them after Wget has started the download.
Если этого будет недостаточно, можно посмотреть в сторону curl.
|