Another way to re-run the previous command

Posted by annamese on Sep 11, 2012 1:52 AM EDT
Linux and Life
Mail this story
Print this story

After running a command in the terminal, you can re-call it by simply hitting the up arrow button. Another way to recall the previous command you can use is to type the double exclamation marks ("!!"). In other words, when you run the double exclamation marks in the terminal, the previous command will be executed. This tip can be quite handy when you want to re-run the previous command as root.

Full Story

  Nav
» Read more about: Story Type: Tutorial

« Return to the newswire homepage

This topic does not have any threads posted yet!

You cannot post until you login.