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
Закладки на сайте Проследить за страницей |
Created 1996-2024 by Maxim Chirkov Добавить, Поддержать, Вебмастеру |