0% found this document useful (0 votes)
292 views1 page

Assignment No.3: Multiple Linux Terminal and Basic Commands

The document provides instructions for using several Linux terminal commands including who, pwd, su, tty and date. It lists the options for the who command and their descriptions. It also gives examples of commands to display currently logged in users, the present working directory, superuser status, and commands to display users and date/time information.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
292 views1 page

Assignment No.3: Multiple Linux Terminal and Basic Commands

The document provides instructions for using several Linux terminal commands including who, pwd, su, tty and date. It lists the options for the who command and their descriptions. It also gives examples of commands to display currently logged in users, the present working directory, superuser status, and commands to display users and date/time information.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 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