You are on page 1of 20

Unix/Linux/Ubuntu/any batch Size Experiments

2. Operating System other open sources


operating system
IX. Resources used (Additional)

Sr. Remarks (If any)


Name of Resource BroadSpecification Quantity
No.

1 Computer System

2. Operating System Ubuntu

X. Program Code: Teacher must assign a separate program statement to students.


Install and configure Linux (or similar) operating system on your computer. Write
down the steps for same.
An S- Steps
J. Douinlcad the Ubun4u ISo file frun the Ctticial weksite
2. Create a bcctable. USR driJe usinq
using Soft aze like Rutus
or Etchet .
3. Re stazt Youe Cempu lez and bect frum the UB dive
Stazt 4he installaton poces ss.
Set up yue usezname .Passwcrd 0thee Systen Settis
C. ait for the instatla ticn to Cemplete
1. Once installed, Confiquee
to Cen
the inteenet.Liquee ycue
yue network Setting Connect
8. Tnstal
any nece SSa updates and drt See s

Maharashtra state Board of Technical Education


1 6)
Operating System (225

Result(0utput of installation):

e Sucressu14 installed..innx..aing
Ubunt.

Practical Related Questions


XI.
given are few sample questions for reference. Teacher must design
Note: Below ensure the achievenment of identified CO.
more such questions so as to system?
1. What are different versions of Linux operating
2. Enlist the steps for booting the operating system.
andits advantages.
3. Statcnames of latest multiuser opcrating system

(Space for answer)

X
System -
AnS!- Below are the vez SionS cf Linux.Cpt3ing. .....

i) Ub untu U) Arch linuX.


) Fed org Viy Ghen too
ii) Debi an Uii) Linur Mint
............."

Vi) Kal; Linux


iV) CentoS

2.

Proreg s Steps J Powet on he Compule.


Ans Bcoting
2.The System wi pee form 2 POsT to che ck hardwate. ......

3. The System BI0S wll initaize ¢ check Cennected device


...... ***
..........
bo+ leade
Susten frn the Specified bot dice.
S. The bcot loodez wil load he Opecalng. System. Keenel into meme.
Seevices
......

wil initialize.he Cpera ing..Skm....SOnecesaby


6. The Keznel 0S.
1. The leqin Screen cr desktop enirenment w oppeat f Stat sing

3.
An5-o Latest Mutiuse 0S - Windcws xp
Multple..usersCan..Se.he. same.Skm..Simullanecus ly.
Adantoges! !. Can Share
2..Ericient. resoce utilzaticn
.......*... as ulhple.USes.n.n
Sustem restces.
Each use has their cwn peesonalzed Settings, nes f app^.
3.
Maharashtrastate Board of Technical Lducation
Caie:
je No. (
*(

CLI

!.CUI is dCpicult tu use. 1, GuI is easy to uSe


2. Tt Csn Sume legs memory
? TL Con(umes more memony
3. Menus ate pvided.
3. No menus pruided.
4. No use of qraphic USes Ctraphig
More uset friendly
is
6.Nauiqo o is dircot Navigaton mac os ubunty
Exomple :-
windos D0s Shell Apdrid dindos to
ele.
MS-DaS

2.
Ans: the procesSor cohen tuo or more
prqram
Shaing
reide memony he Same time is refested

oS muprqramming
Mulkprqromming increa ses CPU Uizaticn by Orgonizing
Jobs So that the CPU alays has one to exetu te.

Opeea ing System

jobi
jcb 2

job n

**
3
and pemisSions
Ans Unix has area tet bulltin

Hhan WindoS
han windous
Unix prucerseg much qreo tee Procersing pcuet
Unix S more Support Shell SCnphing.
Clextble, it Surport
UniX Orouide Dowe kul Command tne inleehace

Ansi- *Windows 99 -
J. Toteqrated micosof in teenet explorer in windows explorer
and help sus tem
Quick aunch tool bat.
3. Glended Support for the Connecion to netorks
nce d
4, Windtos qg intduced enhanced plug 4 play Supporl

I. Cellabili k (oniqueed on
relabil ky- prsen Ketnel of coindor2o9
R. faster relpense even in prcessing mull;tosks
3 Muiilask Opetote multple appicaHens at the Some time
4 Wndouws Xp included Remoke Desxtop functionaltty
a Windb)s 2000

J. Windous 2c00 intndured Acive. directery


2 Tocreo sed upine cf the Syslem SiqniCicanly et OS rebcct
ScenaioS
33 Suppurt fot CATIS CAT32 4 NTPSs
indeus intalle racks oprinJ teccgnizes epla cet miseing omp
**{
X. Program Code: Teacher must assign a separate command statements to
students.
1. Write down different options of cal command. (Use Sman cal)
2. Write options of date command. (Use Sman date)
!. -
Ant The optons ate as follos:
-h -Tuzns oce highlighting of day
-J Display Tklan Calende, Ccnbined wi th he -o optor
display date of orth odox Castee acturding tu
Julian calendet
-e Display date of Eastet (for westeen church er).
Display Tulian day: ( days one. based , numb ered fam Tanue
-m month
Display the speci£ied menth
menth. If month is Specified as
Maharashtra state Board of Technical Education
Operating System (225 16)

XI. Resut (Output of Commands):


decimal
-0 numhe.9Crendingor.diAplog.. he.. Same.dax. Churches)
he.olleinq.a..prslisuc..y..peckdel.
menth

.Dsploy.dat.. .hsdox.Eoskea..Clteax.. Russo0..0rhe


.Print.h..Cant,.ssa..nd..
Ueeqerion Calendee. cs they a°eSsshing.coys.fm.Jinn to
qsum hed by cal The Cauntny (ode
NI. Practical Related Questions as delezmined frum the locat
ensinomen rs matked wth
Note: Below givenare few sample questions for
gnh aatinne n nma tha reference. Teacher must design
nnhinampnt ofidentificd CO.

Disploy onls he Curren t mon th T55 is the


defautt
print he numbe of he Week belew
ech cweek (clumn.
Nsplay Calendaz for thee Specified yeat. This cpticn
iS jmplemented when a yeat but no mch aee
Speitied Hhe Command ine
Display he preJicus, Current And next month Sumundings.
today

Ang
-d -- date = h
STRINU
display time desCribed by STRIN not'ne'
-debug nex

annota te the pased date. an watn abcu


ques lienable. usaqe to St derr
--Cile 2 DATEfILE
1Ke --dale ; Once for Cach Iine of DATECIE
--re feeence. = fILE
display he last modifica tion time of FILE
-- Se t STRIN
Set tme descibed by STRING.
-- help
--utc
dsglay 4his help
-- univeesa
exit

prin t or set Co-ordina ted uni Vezs al TYme (UTC)


n

-l
--re - emai
o
Outyout date and ime in
OUtsut PfC 5322 format.
romple s Mon I4 Aug 2006 O2 :34 : 5< -060
--tfc -3339 = CMMT
Outout date /ime in
in REc
ReC 3339 format.
CMT = date' 'Seconds', or'ns' for dake and me
Jhe indica led precision.
Exam ple : 2006- 08- 14 02 34: 56 - OG 00
-Vee son
Output veesion informaticn and ext
3. Give single statement comimand to display thecalendar of previous, current and
next month.
4. Give thecommand todisplay full week day (eg.Sunday) using date command.
(Space for Answer)

J.

AnS- SCHpt Command is used to tecord at the teminal activitieg


By..deBault atl he.informalicn.is. Savedin..tletype scipt.
And..Ste..to typescript exit Command.is used
Syntox....Coptens.JLleI..
AnS: Cemmand i- $Cal San 2023 display calendae tor month t
Jan
3.
Ans Cemmand: $Cal-3 [dsplay cal Preious, CUrrent next

ansCemmand....ateJA."

Maharashtra state Board of Technical Education 7


Operating System (22516)

XIL. Exercise:
following commnands?
1. What is output of
2019
a. Scal 04
information: %D and %B"; cal
b. Sdate "Today's
seconds"
showing %H hours, %M minutes and %S
c. Sdate "*My clock is
d. Scal -3
c. Scal -5
f. Scal -2000
(Attach page for output) date)
displaying the outpu:. (use
2. Give the syntax of commands for (Abbreviation for month
i. This is.. Month of the year
and 4-digit year)
ii. This is the 'th day of this year.
(Space for answer)

Ans Apil 2019


Su. Mo..... e....5..r..Sa.
3 4 S
9 0 | 12 13
I5 I6 11 1P 19 20
2| 22 23 24 25 26 21
29 29 30

3 date "+ Today's


informakon: .0 and 8"; cal
Araloday'S informaton
aon..09: l623 and Septembet
....2.eemhet 2o23
Su
MoTu.. WeI5 fr Sa
2
3 5
12

19 26 2\ 22 23
24 25 2G 2 29 30

Maharashtra state Board of Technical Education


C. $ da te tMy cecK is Shtw)ng .H houes /M
minutes and /. S seconds

My CloCK is Sheutng Jo houes ancl


43 Secon ds

d. $ Cal-3
Ans

Auqust 2623 Sepkmpee 2023 Octobe 202?


Su Mo Tk We Th Sa Su Mo Tu We Th fr Sa Su Mo Tu we Th r
L 2 3 45 ! 2 2 3

3 4 5 6 & 9 1 12 13 14
I5 6 17 8 19 12

20 2| 22 93 24 25 26 17 9 19 20 2) 22 23 22 23 24 2f 26 27 2p

27 2 29 30 3 24 25 26 27 28 29 30 29 30 3|

el. Cal -5 Cal -2000


An s'
Cal: inalid option
Dsaqe : Cal Cgenezal opiens] -iy J CMenihJ yeae]
Cal lgenee al opticns] E][-M menh) (yeae)
ncal -c Cqeneeal optcns JC-jy] CCMenih] yeat]
ncal -c lgenezal opticns] (-] -M menih ] Cyeae ]
ncal (genee al optens][- bhJipwysM] (-H yyyy -mn-dd]
-S CCuntmy-(ede] l Cmensh ] yeaz J
hcal (gerneral opicns ] [-bhJe osM ] Tyeae J
Grenezal cPions : -31] [-A munth S] (-8 Menihi] (-d yyyy -mm]
Page No
Date

2.

An s Tbis s .8 Menh of dhe yeat . Y.


utput
This Septembee Month of the yeaz
2023

Ans! This is the .i4h das of 4hìs yeat,


Culput!
This is the 259th day of Ahis
yeac.
Sr. Name of Resource Broad Specification Quantity Remarks (If any)
No.
Processor (13-i5), RAM
Computer System 2GB and above (As per
need of OS) As per batch For all
Unix /Linux/Ubuntu/any Size Experiments
2. Operating System other open sources
operating system

IX Resources used (Additional)

Sr.
No.
Name of Resource Broad Specification Quantity Remarks(If any)
Computer System

2 Operating System Ubuntu


Program Code: Teacher must assign a separate command to students.
List down with all options for whocommands and write its description.
Note: Write terminal's output in Result Section.
Ans -T -u
)--all Same as b -d -login -P -r -t
DisplayS ai) info.
-b, --boct TÉme of (ast System beot
-d, -- dead Print dead processes
-H, -- heoding print ine of cclumn headngs
- , --1cgin print System login prnces ses
--\cok up Attemp t to Concnicali 2e hostnames via DNS
- m Onty hostn ame t use associa ed wth stdin
-u,-- usees List uses loqged in
-t, -- ime print last System clock change
-r,--runlevel Print cument runlevel
-S, -- short pnnt cnly name, Iine,f time (dekau't)
-P, --prncesS Print acive procesSes spq coned by init
XI Result (Output of Command):
XII Practical Related Questions
Note: Below given are few sample questions for reference. Teacher must desipn
achievement of identifiedCO.
more such questions so as to ensure thedirectory.
1. Give command for present working
2. State currently login users by command.
3. Acquire the status of super user.
XUI Exercise:
1. Acquire the status of super user.
2. Write output for following commands
i. Swho:clcar;whoami o
ii.Swho:ty:date
(Space for Answer)

Ans- Pwd
Output

2.

Ans $ who
Output root pts/1 2023 - 0g -16 J0:40

3.
Ans!

Ans:
Operating Svstem (22516)

2
Anl' 5 Cleaz; who am i
...

Ans bot

i) S Who ty; da te
Ans roo t PtSI! 2023-09 -I6 lo: 40
root Pts|2 2023 - 09 -16 1! :20
7dev | P12
Sat Sep 16 JI: 30 0s TST 2023
XIV References/ Suggestions for Further Reading
https://www.tutorialspoint.com/unix
2. http://www.ee.surrey.ac.uk/Teaching/Unix/
3. htps:/www.cs.sfu.cal-ggbaker/reference/unix/
XV Assessment Scheme

Performance Indicators Weightage


Process related (15 Marks) 30%
1 Logic formation 10%
2 Debugging ability 10%
3 Followethical practices 10%
Product related (35 Marks) 70%
4. Expected output 30%
5. Timely Submission 30%
6. Answer to sample questions 10%
Total (50 Marks) 100%

List of Students/Team Members


1.

2.
3.
Drerat:ng System 5it)

Program Code: Teacher must assign aseparate program statement tostudent


your system. Stop the seviceS which
L.
Check all the permissions started on
required for long timc.

XI. Result (Output of Command):

XII. Practical Related Questions

Note: Below given are few sample questions for reference. Teacher must design
more such questions so as to ensure the achievement of identified CO.
1. List various menus you observed on your system?
2. Study the GUIof your Linux system.
3. What is difference between GUIand CLI?
(Space for answer)

Ang:- Menu mau be delined os he Ccm...............


and 4
Cpeeaticns aa list which ig pretened te ihe useE
Maharashtra state Board of Technical Education
Operating System (22516)

Ce.mputeE. Syskem..c Cermnn.Syskem.in..ems.c..anekirqt


Jeleceommunication.
The ceicus menus CbsetJed in the Systern ae.
Pop. up..menu
Menu bat..
Cormmandioe iotezforemenu
..Caraphica..se..nkeace..0enu.
3.
Ans: (n0I CUI

J . T stonds er Craphical uset Tt stonds for Cemnond ine


intezloce. inteetace
2. Navigaticn is easy Naiqation is dirCicult
less usez friendly
3.
More.useiendly...
4Moden..9S.ate..Ctug bed...l..os.was.. CLI based
S....kexe.2g..hgh..po..sSem....es..9re. low sp eed..System.
6 Support .hultise Multithrecdin Do nch Suppert. .Mutusee
Eample t- Aindous OS Ex MS- DOS
MulttheodnnO no HUSe

Example i- Windous OS Ex, MS- DOS


XIII. Exercise:

1. What are system calls provided by file management?


2. Draw and explainservices provided by operating system.
3. What are system component of operating system.
(Space for Answer)

AnSihesc Sus lem Calls are repensblefor.Eile.manipulation


Cre a tin a Cle, fead.ng.a Cile riting. nto a Gie, ete..

for wndewws Follo ina..ce he ie monag.ement System cals


i)Create file)..
Reod ile ) . } Move Crle ()
hiAnteCie().. vit Delete file )

for..inux..fel!sing..3r.he.ls.anngernent..9stem, cal5 -
Maharashtra state Boardof Technical Education 17
Operatng Svstem (22S 16)

J mKdir()Ni)
Ji!)lese. ()
reod) v) rmdir().. Niii unlink )
ite) vi) renomet).

3.
Ans- Compenents cf..Opeeo ting. SyStem...
iy Cile Monggement.
iPracess. Mon2gement....Sndary...torage.Managenent
V> Main Memony Manaqement viy NeorK Manag ement
XIV. References/ Suggestions for Further Reading
1. https://www.tutorialspoint.com/unix/
2. http:/www.ce.surrey.ac. uk/Teaching/Unix/
3. https://www.cs.sfu.ca/ggbaker/reference/unix
YI
2
Ansi
use and olheE, Syslem proqrams

GUI batch Ccmmand lioe

Useg inte faces

Systenm Calls

prqram To Fiie
ex ecutHon Opea tions resouece
System allctaion

eror Protec ticn


delection
Seeices Secuziky
cpetoting Sustem
hadwce
SezJices prdided
prodided by an 0peeating System --

Praqnm ExecuHon - It allew or it run Uset


Camplete qiJen Aafk EVeey s preNidet a plotkorn
to run a
praga
2) Tlo To Cempleke a
tnput device Prduce Culput en Culput deuie
USe Can not irecly d handle To devicet So
08 ac
oct ag
a bridae { Ce 4s Cutcut Ilo
Ilc pezalicng
Caey
3 Cile syckem manipulakonr
manipulaton ie repretents a Coll ecion
relala) inkenmaten. Cmputee starel Ciles cn he dk
(seiendazy st roge)ter long tem strage
dtc crexalians onon Ale pupere.
To

L
tle Me sy shem managenent
Eror Dekcion i A^ eror isa pazt of Ahat do nd
sys lerm
allew CS to pncess the data Sugkern
Systern errers ate
dageted 0S hat but 0S con not
eors. debuq
5
syReseuzte AlocaHen leey Cormputee dytenm had
eicurces. Ahen more han Irnitad
one uset or pruceS are
running Simulteneously he rerouzce allecaten
beteme
6Y Protectan and Secuity i
protecion include Cintr|
Syttem rescuzce! to the usez
USed to Olhec proleir.
Keep unauherized uses
Ahe 'yçtenm. frm
Tt it Vey tmportant to prtect

You might also like