Professional Documents
Culture Documents
Theory: Linux is an Open-Source Operating System based on Unix .It is used in the following
ways: Server OS for web servers, database servers, file servers, email servers and any other type
of shared server. Designed to support high-volume and multithreading applications, Linux is
well-suited for all types of server applications.
Desktop OS for personal productivity computing.
Screen Shot:
1.
ls: List the contents of the folder from which it runs.
mkdir: command create a new directory. cat: It is used to create a file with content and can
concatenate two or more file
2. touch: It is used to create file without content. cp: It is used copies a file from one
cd: It is used for changing the directory. mv: It is used command moves a file from
grep: It searches the given file for lines containing a match to the given strings or words.
head: It prints the first 10 lines of the given file. tail: It prints the last 10
echo: It used to prints a text on the standard output. df: Report disk usages of file
system.
uname: The “uname” command stands for Unix Name, print detailed information about the
machine name, Operating System and Kernel.
sudo: It allows a permitted user to execute a command as the super user or another user.
su: It is used to run shell with substitute user and group IDs. date: It print the current date
cal: It is used to display calendar of the present month or any other month.