site Search:


 
    All FAQs Site FAQ DSL FAQ Cable Tech About DSL Distance DSL Hurdles »»






how-to block ads



Search for: in all FAQs
Many Command line uses like to setup aliases for a long or complex commands to save typing. This is especially helpful while a person is learning or if they are used to different commands that map into AIX commands. Frequently typed commands are good candidates.
If you type the ALIAS command is will show you your entire current alias
Examples

Ls= ‘/usr/bin/ls –f’
Stop= ‘kill –stop’
Suspend= ‘kill –stop $$’
My files= ‘ls /u/home/mystblade’

To create an alias ls that replaces the ls command with a customized option,>>>>>>>>>type>>>>>alias ls= ‘ls –f’<<<<<<<< on the Korn shell
To do the same on the C shell type >>>>>>>> Alias ls ‘ls –f’ (notice that the c shell does not like the equal sign)
Bourne shell does not support aliases

All in all if you wanted to, you could change all your commands from UNIX style to DOS style if you are more familiar with DOS, or something more unique of your own.


got feedback?

by MystBlade See Profile edited by howe81 See Profile
last modified: 2003-12-16 01:49:46


Saturday, 11-Feb 20:30:11 Terms of Use & Privacy | feedback | contact | Hosting by nac.net - DSL,Hosting & Co-lo
over 12.5 years online! © 1999-2012 dslreports.com.