Документ взят из кэша поисковой машины. Адрес оригинального документа : http://comet.sai.msu.ru/UNIXhelp/commanz/cmd_sub.html
Дата изменения: Fri Jan 17 12:43:13 1997
Дата индексирования: Tue Oct 2 00:30:18 2012
Кодировка:

Поисковые слова: http astrokuban.info astrokuban
Command substitution

Command substitution

To include the output from one command within the command line for another command, enclose the command whose output is to be included within `backquotes`. For example:

   echo The date today is `date +%d/%m/%y`
   The date today is 17/05/95

The output from the command date +%d/%m/%y is substituted at the appropriate location within a command line that uses the echo command.


[Home] [Search] [Index]