Shell Command Aliases
A command alias allows you to create an alias name for common commands (along with their
parameters) to help keep your typing to a minimum.
Most likely your Linux distribution has already set some common command aliases for you. To
see a list of the active aliases, use the alias command with the -p parameter:
Example:
$ alias -p
alias l.=’ls -d .* –color=tty’
alias ll=’ls -l –color=tty’
alias ls=’ls –color=tty’
alias vi=’vim’
alias which=’alias | /usr/bin/which –tty-only –read-
alias–show-dot –show-tilde’
alias l.=’ls -d .* –color=tty’
alias ll=’ls -l –color=tty’
alias ls=’ls –color=tty’
alias vi=’vim’
alias which=’alias | /usr/bin/which –tty-only –read-
alias–show-dot –show-tilde’
Leave a Reply
You must be logged in to post a comment.