In this Linux tip, we’re going to look at how to repeat commands using !! or the up-arrow key on your keyboard. Any time you want to rerun previous commands on the Linux command line, these tricks make it easier to run the command again.
Source:: Network World – Linux