The OpenNET Project / Index page

[ новости /+++ | форум | теги | ]

Поиск:  Каталог документации

Adding a command alias

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

1. Edit the shell start up file .bashrc 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:

   . .bashrc

[Home] [Search] [Index]



Партнёры:
PostgresPro
Inferno Solutions
Hosting by Hoster.ru
Хостинг:

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