|
Документ взят из кэша поисковой машины. Адрес
оригинального документа
: http://comet.sai.msu.ru/UNIXhelp/scrpt/scrpt1.2.2.html
Дата изменения: Fri Jan 17 12:43:19 1997 Дата индексирования: Tue Oct 2 01:12:26 2012 Кодировка: Поисковые слова: http www.astronomy.com |
To make a file containing a shell script executable and then run the script:
display display: execute permission denied chmod u+x display display Date and time is: Mon Mar 8 10:51:17 GMT 1993 Your username is: erpl08 Your current directory is: /home/erpl08/scripts
The command display does not run the script as the user does not have execute permission for the file. They give themselves execute permission and then re-enter the command to run the script.