#clearThis command is used to clear the screen.You have three options to logout .
Press CTRL+D
#exit
#logoutAll three commands perform same task.
#pwd
/root
Print working directory command will tell you about current location from / partition
#lsls command will list the object in directory. All directory are listed in blue color while files are shown white color.
#ls –a Normal ls command will not list the hidden files. If you want to list the hidden file use –a switch with ls command to list the hidden files.
#ls –l Ls command with –l switch will list the objects in long formats . we will discuss more about –l switch in coming sections.
#ll Same as ls –l . First and major task for any system administrator is user managements. For testing purpose you can perform all task with root account but in real life root account is used for administrative purpose only. Lest create a normal user account for further practical.
#useradd [user name ] Useradd command is used to create user. Several advance options are used with useradd command but you will learn about them in coming article.
#passwd [user name]In linux no user can be login without password. passwd command is used to assign password for any user. Do not execute this command without user name otherwise it will change root password.






0 comments:
Post a Comment