in unix -- What command tells the shell to repeat the last command
In unix -- What command tells the shell to repeat the last command?
!n ---%26gt; executes nth command, e.g. !7
!! ------%26gt; execute previous command
!-n execute previous nth command, e.g. !-1 (is same as !!)
!string execute command that start with string e.g. !cp
--------------------------------------...
http://santoshsy.googlepages.com
Reply:The Up Arrow key.
Good luck
Reply:if you press r it will execute the last command
Reply:the up arrow key and to go to a command that you did a few commands ago just hit it again.
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment