Are you tired of typing those long commands in the Linux terminal again and again? Are you sick of pressing the ‘Up’ cursor key repeatedly to recall a desired command from the terminal history? Here’s what to do:
1. Press ‘Ctrl’ + ‘R’ keys simultaneously at the Linux terminal to display ‘(reverse-i-search)’ –
2. Type the first few letters of the desired command (system will autocomplete the commands from terminal history), until you see the command you need to execute.
3. Hit the ‘Enter’ key to execute the desired command displayed in the previous step.
[…] This post was mentioned on Twitter by AVP, ihaveapc. ihaveapc said: How To Quickly Execute Long Commands From Linux Terminal History http://goo.gl/fb/7iJda […]