Posted by: jasonk2600 | November 26, 2009

Command Aliases

You can use aliases to decrease the amount of typing you need to do to get commands you commonly use. Examples of fairly popular aliases include (in Bourne shell style, as in /bin/sh, bash, ksh, and zsh):

alias lf="ls -FA"
alias ll="ls -lA"
alias su="su -m"

In csh or tcsh, these would be:

alias lf ls -FA
alias ll ls -lA
alias su su -m

To remove an alias, you can usually use unalias aliasname. To list all aliases, you can usually type just alias.



Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s


%d bloggers like this: