Astronet Поиск по астрономическим сайтам English Russian
       
        Точная форма слов   О проекте   Сайты   Справка
Поиск по:   - Поискать по всем серверам
На этой странице приведены все страницы, которые ссылаются на http://comet.sai.msu.ru/UNIXhelp/didyou/username.html. Показаны документы 1 - 1 из 1.

1. Example of a simple shell script
These are the contents of a shell script called display : cat display # This script displays the date, time, username and # current directory. echo "Date and time is:" date echo echo "Your username is: `whoami` \\n" echo "Your current directory is: \\c" pwd . The first two lines beginning with a hash ( # ) are comments and are not interpreted by the shell. Use comments to document your shell script; you will be surprised how easy it is to forget what your own programs do! ...
[ Сохраненная копия ]  Ссылки http://comet.sai.msu.ru/UNIXhelp/scrpt/scrpt1a.html -- 2.9 Кб -- 17.01.1997
Похожие документы


Астронет | Научная сеть | ГАИШ МГУ | Поиск по МГУ | О проекте | Авторам

Комментарии, вопросы? Пишите: info@astronet.ru или сюда

Rambler's Top100 RFBR Яндекс цитирования