You are on page 1of 3

OPERATING SYSTEM LAB BCSE-507L

PRACTICAL - 01

Aim - To study various utility commands of the linux operating system.

. CTRL + ALT + T

It is not exactly a command but an awesome shortcut. You can open the terminal by using this
shortcut instead of using the GUI manual process.

. Who
The Linux "who" command lets you display the users currently logged in to your UNIX or Linux
operating system.

Man
Man command in Linux is used to display the user manual of any command that we can run on the
terminal .

Date
Date command is used to display the system date and time.
Date command is also used to set the date and time of the system.

.passwd

On Unix-like operating systems, the passwd command is used to change the password of a user
account

.tty

Usually refers to the serial ports of a computer, to which terminals were attached. pty: pseudo
teletype. Kernel provided a pseudo serial port connected to programs emulating terminals, such as
xterm, or screen.

Name: Ajay Dangoriya Tharu Rollno: 11222780 Remarks:


OPERATING SYSTEM LAB BCSE-507L

.echo
echo command in linux is used to display lines of text/string that are passed as an argument . This is
a built-in command that is mostly used in shell scripts and batch files to output status text to the
screen or a file.

.pwd
The pwd Linux command prints the current working directory path, starting from the root ( / ).

.history
In Linux, there is a very useful command to show you all of the last commands that have been
recently used. The command is simply called history, but can also be accessed by looking at your
bash_history in your home folder.

.cal
cal command is a calendar command in Linux which is used to see the calendar of a specific month
or a whole year.

Name: Ajay Dangoriya Tharu Rollno: 11222780 Remarks:


OPERATING SYSTEM LAB BCSE-507L

.bc (best calculator)..


bc command is used for command line calculator. It is similar to a basic calculator by using which
we can do basic mathematical calculations. Arithmetic operations are the most basic in any kind of
programming language.

Name: Ajay Dangoriya Tharu Rollno: 11222780 Remarks:

You might also like