You are on page 1of 4

Experiment-Practical7

Student Name: ANIRUDDH GUPTA Date of Performance: 16/10/21


UID: 20BCS4374 Section/Group: 20BDA-2 / GRP-B
Branch: CSE(BD) Subject Name:OPERATING SYSTEM LAB
Semester: 3rd

1. Aim/Overview of the practical


a.Controlstructuresinshellprogramming.b.Differencebetweenwhileanduntilstatement.c.loopingstatement

Task to be done
Using Shell programming, write a code to find whether the entered number is
Specialnumberornot.

2. Apparatus
Working on Virtual box

3. Steps for Exp


1. OpenVirtualBox.
2. LoginintoUbuntu
3. Openterminal
4. TypegeditExp2.3.sh
5. Insidetheopenedtexteditorenteryourcodeandsaveit
6. Interminal,typeshExp2.3.sh
7. Enterthenumberyouwanttocheck
8. Outputdisplayed
4. Result/Output/WritingSummary:
1. Code Screenshot

5. OUTPUT:
Learning outcomes (What I have learnt):

i. LearntouseShellcode

ii. UnderstandtheconceptofUbuntu

iii. Leantouselogic

iv. Learndifferentshell commands


v. Learntofindtheerrorsinshellcode

Evaluation Grid (To be created as per the SOP and Assessment guidelines by the faculty):

Sr. No. Parameters Marks Obtained Maximum Marks


1.
2.
3.

You might also like