Using command line history effectively will boost your productivity.
Here are some tips:
Repeat last executed command:
Execute command with a key word:
It will run most recently executed command with with key word wc.
Execute last executed command that starts with a key word:
It will run most recently executed command that starts with wc
Execute first command in history file:
Execute most recent nth command from history:
where n is number.
Execute line number 10 in the history:
where n is number, it will execute command in nth line from command line.