December 2015
Intermediate to advanced
512 pages
10h 27m
English
So far in this book you’ve been running commands in your bash shell, but you haven’t focused on the shell itself. In this chapter, you look at commands that affect your use of the shell: history, which lists everything you’ve entered on the command line, alias, which allows you to create shortcuts for commands, and function, which is like alias times twenty. All are useful, and all can save you lots of time when you’re using the command line. Laziness is a good thing when it comes to computer users, and these are definitely commands that will help you be as lazy as possible when using your Linux box.
history
Every time you type a command in your shell, that command is saved in a file named .bash_history ...
Read now
Unlock full access