|
If I'm understanding your question correctly, you want to type in 'a' at the command prompt and get output of 'who' command. Easiest way I know to do this is to add an alias statement to /home/[user]/.bashrc. alias a=who Here is partial excerpt of alias section of my .bashrc file: Also, 'man' command is your friend. hth |
|||
|
|
U can also try to use bash scripts / shell scripts for ur purpose. See here for more info: www.linfo.org/alias.html |
|||
|
|
4
Answers
|
|
10
Answers
|
|
10
Answers
|
|
27
Answers
|
|
27
Answers
|
|
1
Answer
|
|
1
Answer
|
|
0
Answers
|
|
1
Answer
|
|
1
Answer
|
The Linux Foundation is a non-profit consortium dedicated to the growth of Linux.
Join / Linux Training / Board