Документ взят из кэша поисковой машины. Адрес оригинального документа : http://comet.sai.msu.ru/UNIXhelp/shell/alias_ksh2.html
Дата изменения: Fri Jan 17 12:43:20 1997
Дата индексирования: Tue Oct 2 01:29:09 2012
Кодировка:

Поисковые слова: spirit rover
Adding a command alias

Adding a command alias

To make a command alias a permanent part of your working environment:

1. Edit the shell start up file .kshrc and add the line which defines and exports the command alias. For example:

   alias a3print='lp -d any -fa3';export a3print

2. Save the changes and leave the editor.

3. Source the shell startup file to have the changes take immediate effect. For example:

   . .kshrc

[Home] [Search] [Index]