Functions may be defined at the command-line and then used as many times as needed as long as a new shell is not started. This feature of the Bash shell can be a handy tool if you are repeatedly performing the same command or series of commands.
Full story »