By Huy Tran on April 20, 2008
First, I want to add a user. So how to do it?
+ To add user:
sudo adduser <username>
to add password for your user
sudo passwd <username>
+ How can i switch from one user to another one? In this example, i want to switch from one user to another one.
su <username>
and type in your password to login
after that, [...]
Posted in Linux, Open Source, Tips - Tricks, Ubuntu | Tagged add, command, delete, sudo, switch, Ubuntu, user
By Huy Tran on February 9, 2008
So how do you shutdown or reboot Ubuntu Linux from a terminal or a shell prompt? If GUI is working you can always click on a Quit button. If GUI is not working or if you are working remotely over ssh type the following command:
To shutdown / poweroff Ubuntu Linux
Type the command:
sudo halt
OR
sudo shutdown -h [...]
Posted in Linux, Open Source, Software, Ubuntu | Tagged command, Linux, reboot, shell, shutdown, terminal, Ubuntu