|
|||||
Linux Tip – When you forget to use sudoNew tutorial added to HowtoMatrix database. This happens a lot to me, I usually forget to start a command with sudo !! And the last command run, will be run again but this time with the command i.e. [user@myhost ~]$ /etc/rc.d/sshd restart :: Stopping Secure Shell Daemon [FAIL] :: Starting Secure Shell Daemon [FAIL] [user@myhost ~]$ sudo !! sudo /etc/rc.d/sshd restart Password: :: Stopping Secure Shell Daemon [DONE] :: Starting Secure Shell Daemon [DONE] In the example above, I entered the command without Comments are closed. |
|||||
|
Copyright © 2013 FreeSoftNews - All Rights Reserved |
|||||