Linux and Unix alias command
Commonly used for a long strings that are frequently used. Alias allows you to have a small more familiar command or name to execute a long string.
|name||Specifies the alias name.|
|command||Specifies the command the name should be an alias for.|
|-a||Removes all alias definitions from the current shell execution environment.|
|-t||Sets and lists tracked aliases.|
|-x||Sets or prints exported aliases. An exported alias is defined for scripts invoked by name.|
alias home 'cd public_html'
Sets home to type cd public_html
To remove this alias use the unalias command
We recommend that ISP's or Unix systems with users who may be unfamiliar with Linux or more familiar with MS-DOS setup the below aliases.
copy cp -i
del rm -i
delete rm -i
dir ls -alg
home cd ~
ls ls -F
move mv -i
pwd echo $cwd