Lab # 2 Introduction To Linux Operating System Lab Task:: Search Different Options of Rmdir Command Using Man Command

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

SWE-204 OPERATING SYSTEMS SSUET/QR/114

LAB # 2

Introduction to Linux Operating System


Lab Task:
Search different options of rmdir command using man command.
 $clear

 $man ls (manual)

 ls

Linux Operating System 1 of 80


SWE-204 OPERATING SYSTEMS SSUET/QR/114

 -a

 ls -i

 ls -f

Linux Operating System 2 of 80


SWE-204 OPERATING SYSTEMS SSUET/QR/114

 ls -R

 ls *.c

 ls -a~

Linux Operating System 3 of 80


SWE-204 OPERATING SYSTEMS SSUET/QR/114

 $cat > newfile (creat file)

 $cat newfile (view file)

Linux Operating System 4 of 80


SWE-204 OPERATING SYSTEMS SSUET/QR/114

 $cat > unsorted

 $sort < unsorted

Linux Operating System 5 of 80


SWE-204 OPERATING SYSTEMS SSUET/QR/114

 $cp file1 file2

 $mv myfile newfile

Linux Operating System 6 of 80


SWE-204 OPERATING SYSTEMS SSUET/QR/114

 $head -2<filename>

 $tail -5<filename>

 $alias dir -ls

Linux Operating System 7 of 80


SWE-204 OPERATING SYSTEMS SSUET/QR/114

 $cd ~ $

 du -k

Linux Operating System 8 of 80

You might also like