You are on page 1of 9

Bahria University, Lahore Campus

Department of Computer Sciences


Lab Journal 02
(SPRING 2023)

Course: Operating System Lab Date:


Course Code: CSL - 320 Max Marks: 20
Faculty’s Name: Iqra Ashraf Lab Engineer: Iqra Ashraf

Name: Danish Rashid Enroll No: 03-135212-007

Objective(s) :
To study and execute the commands in Linux.

Lab Tasks :
Task 1 : Execute the Date Commands and write the output.

Solution:
Simple Date Command
Date Command With Hour/Minute/Second & Calendar

Task 2: Execute the mentioned LINUX Commands and generate output.

Solution:
Echo Command
Banner/Whoami/Binary Calculator Commands

Clear Command
Task 3 : Execute the below File Commands and write the output.

Solution:
Create Command Using VIM

Create Command using CAT


Display Command Using CAT

Copy Command for contents


Copy Command From One File To Another

Moving Everything From A File Command


Remove & WORD Command

Task 4 : Execute FILTERS AND PIPES commands and write the output

Solution:
Head & Tail Command
Sort Command

PIPE Command using echo


TR Command for lowercase letters to UPPERCASE

Lab Grading Sheet :


Max Obtained
Task Comments(if any)
Marks Marks
1. 5
2. 5
3. 10

Total 20 Signature

Note : Attempt all tasks and get them checked by your Lab. Instructor

You might also like