Monday, 21 November 2011

Sudo????

what the heck of "sudo" actually is?yeahh.sudo is stand for Super User DO.we usually add sudo before the command that need root privilege.As an example if you want to install something via terminal.You can't simply type "apt-get install ..".you need to add "sudo apt-get" on it.This is applied on ubuntu and several other linux that based on debian.If you are using centos,the user is root already.

For ubuntu,there are several way to enter the terminal as the root.

sudo su----->this will let you to be root and directed to root/home/user directory
sudo -i----->this will let you to be root at root directory
sudo -s----->same as -i

No comments:

Post a Comment