You are on page 1of 5

FEDERAL URDU UNIVERSITY OF ART, SCIENCE

AND TECHNOLOGY ISLAMABAD

Name:
Samra Bibi
MIS ID:
29797
Course:
BSCS(5th Semester)
Section:
A
Subject:
OS
Submitted to:
Sir Saeed Ullah
Assignment no. 2
Linux Commands
1. Hostname:
The hostname command is used to display a Linux system's
DNS name and Hostname. It also allows the users to change
or set the Hostname.

2. Pwd:
Pwd stands for Print Working Directory. It prints the path of
the working directory, starting from the root.

3. Ls:
The command ls, short for list, is a tool for listing the
contents of directories in linux.

4. Whoami:
It is basically the concatenation of the strings
“who”,”am”,”i” as whoami. It displays the username of the
current user when this command is invoked.
5. Cal:
Shows current month calendar on the terminal with the
current date highlighted.

6. Date:
Date command is used to display the system date and time.

7. Clear:
Clear is a standard Unix computer operating system
command that is used to clear the terminal screen.

8. Cd:
The cd command, also known as chdir (change directory), is
a command-line shell command used to change the current
working directory in various operating systems.
9. mkdir:
The mkdir command is used to create directories in our
Linux Operating System.
mk

10. rmdir:
In computing, rmdir (or rd) is a command which will
remove an empty directory on various operating systems

11. Touch:
The touch command is a standard command used in
UNIX/Linux operating system which is used to create,
change and modify timestamps of a file.

12. Uname:
Uname command is used to display basic information about
the operating system and hardware. With options, Uname
prints kernel details, and system architecture. Uname is the
short name for 'UNIX name'.

13. Mv:
The mv command termed as “Move”, which is a
command-line utility to move files or directories from
source to target. It supports the moving of a single
file, multiple files, and directories.

14. Df:
Df (abbreviation for disk free) is a standard Unix command
used to display the amount of available disk space for file
systems on which the invoking user has appropriate read
access.

You might also like