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'


Open a file with gvim in a new tab
alias gv='gvim --remote-tab-silent'
gv [filename]

Last modified: 04/06/2008 Tags: (none)

This website is a personal resource. Nothing here is guaranteed correct or complete, so use at your own risk and try not to delete the Internet. -Stephan

Site Info

Privacy policy

Go to top