Saturday, July 18, 2020

KNOW HOW TO LOGIN USER IN UNIX




UNIX is a multi user Operating System.

Here we will talk about shell programming, through which we can run many commands. For this, first we have to login through login and password.

Example :

Login : shailu
Password : ******

After login sh program will run and we get $ (dollar). If we want to logout then we press (ctrl + d). After successful logout again we get

Login : 
Password : 

Note : No of shall = No of current login user ( That means the more users login, the more shall be given. )

Command 1 : $ who

who command tells how many users are currently logged in.

OUTPUT : This command will display suppose.


Name of user           Name of terminal
       raj                               tty05
       raja                             tty07
       raj                               tty10
       anil                             tty11

Note : 

If one user login in different system in different time period then the shell provided is different.
















No comments:

Post a Comment