Professional Documents
Culture Documents
Abdullah Khalid 1411-121106 Lab 3
Abdullah Khalid 1411-121106 Lab 3
OPERATING SYSTEMS
LAB REPORT # 3
BBA-IT—4TH SEMESTER
Submitted to:
Objective(s)
To get familiar with the basic Unix/Linux shell commands.
Report:
We learn about Introduction to Basic Shell Commands
GENERAL COMMANDS
DIRECTORY COMMANDS
FILE COMMANDS
Cd
Mk labs
Cd labs
Cat>file then press ctrl+D
Ls
Cat file1
Cp file1 file2
Cat file1 file2
Rm file1
Mv file2 thefile
Mkdir home
cd
Cp labs/thefile Home/
Rm labs/thefile
Cp Home/thefile labs/
Cd Home
Rm thefile
Cd
Rm labs/thefile
Rmdir labs
Rmdir Home
- First we will open the Virtual Box.
Cd
Mkdir
Cd LAbs
- The LABS folder create
-we Create the file named file1.
Cat>file then press ctrl+D
Ls
Cat file1
-Then we create file 1 and 2 through command
Cp file1 file2
Cat file1 file2
- we a copy of the file file1 under the name file2.
- We Verify that the files file1 and file2 both exist.
END