When you are using Linux command line frequently, using the history effectively can be a major productivity boost. In fact, once you have mastered the 15 examples that I’ve provided here, you’ll find using command line more enjoyable and fun.
Ah, the command-line! Refuge for the scoundrel, proving ground for the true expert, tool of choice for the power-user. The following 10 tips explain how to do cool and interesting things at the command-line. They’re not specific to Ubuntu but they were written with Ubuntu in mind, and have not been tested on other distros. But all should work on most versions of Linux or even Unix.
Sometimes, you change your mind when you are in the middle of typing in a command at the command prompt. You don't want to execute the command until a later time, but you don't want to retype the line again. What to do?