When entering commands at the command line, its often nice not to enter all of the command. One of the commands I like to be able to shorten is the dir command, to d. This may be done by editing the .bashrc file in the home directory and adding a line with the alias command, the syntax of which is:
alias [-p] [name[=value] ...]
unalias [-a] [name ... ]
so our line of code is
alias d='dir'
| This article viewed: 149 times | Back |
Copyright © 2004-2007 Janet Systems Ltd.