This is the second article in this series, and brings eight
additional tips for working faster with the shell. Here is the
first article of the series, containing 10 tips. Aliases are
handy custom commands which can be used to make shortcuts to
various commands, scripts or one-liners. Aliases can be added in
the ~/.bashrc file like this: Alternately, you can specify an
external file and load it in .bashrc, like for example the
default one, called .bash_aliases. Edit .bashrc and uncomment or
add (if it doesn’t already exist) the following code: if [ -f
~/.bash_aliases ]; then . ~/.bash_aliases fi This code checks to
see if the file ~/.bash_aliases exists, and if it does, it reads
the contents from it. Here are examples of aliases and what they
do: You can virtually define any aliases you want here. The #
sign used after each alias means what follows is comment, it
will be ignored by Bash when reading the file. Here’s another
tip. Adding the following two lines to ~/.inputrc will make
PageUp and PageDown keys t