Professional Documents
Culture Documents
Urmish OS Manual 2
Urmish OS Manual 2
PRACTICAL NO -02
3.Now it gets entered into the terinal where we can only read it.
4.To get write permission press “I” ,so we can enter into insert mode ,at the bottom we
can see in ‘INSERT’ keyword.
6.After writing our shellscript program to escape from the current terminal press “esc”
and then enter “:wq!” command to go back to execution mode.
7.Now you have only read access to your file you created,To get all permissions to that
file type “chmod 777 filename.extension” command.
PIET CSE(PU) 11 2203031050321
SUBJECT NAME : OPERATING SYSTEM
After entering “chmod 777 filename.extension” command.You get all permissions on that
file.
8.For printing type “./filename.extension” command.Now you will see output in the
terminal.
PROGRAM 01:
Write a shellscript program to check whether the given number is even or odd.
PROGRAM 02:
Write a shell script program displaying the addition, subtraction, multiplication,, modulo
operations.
PROGRAM 03:
Write a shell script program for finding factorial of a number.