Bash aliases

A Bash alias allows you to simplify long commands, so that you only have to type a few characters rather than a lengthy command and its options.

Computer wide aliases go in /etc/bash/bashrc and user wide alises go in ~/.bashrc.

alias alias_name='command to run'

Examples

ActionAliasUsage
Open a file with gvim in a new tab
alias gv='gvim --remote-tab-silent'
gv [filename]
Last modified: 04/06/08 16:55:54
Go to top

Related Pages

No related pages or links.

Login/out

Login

Forgot Password?
Go to top
Go to top