Friday 19 June 2015

Commands from Root user in Ubuntu

Loging into the root user from terminal:
sudo su
password
#...
The # symbol recognizes you as the root user.

We can add new users from the root users as:
#useradd newuser
#passwd newusers
Enter the password.

The cd command stands for change Directory.

ls -F //Distinction biw files and folders

cat > filename
The above structure redirects the data. Now ehatever u'll type will go into a new file.

No comments:

Post a Comment