Download as docx, pdf, or txt
Download as docx, pdf, or txt
You are on page 1of 1

Name :- Mhetre Chaitanya Santosh.

(24) -OSY

Assignment No.3: Multiple Linux Terminal and Basic Commands.

1. List down with all options for who commands and write its description. Note: Write
terminal's output in Result Section.
who command prints information about all users who are currently logged in.
-a, --all => some as –a –d –login –p –r –T –u.
-b, --boot => time of last system boot.
-d, --dead => print dead process.
-H, --heading => print line of column heading.
-l, --login => print system login process.

2. Give command for present working directory.


$ pwd.

3. State currently login users by command.


$ who am I i.e. Trupti.

4. Acquire the status of super user.


$ su.

5. Write output for following commands


i. $who; clear; who am i
The command will display users and then clear the screen followed by the output
of who am I command which wil display username of current user i.e Trupti.
ii. $who;tty;date
The command will display all users then the terminal time followed by date.

1 IF Department

You might also like