You are on page 1of 10

LAB EXERCISE 3

NAME- ANKIT KUMAR SINGH


REG. NO.- 21BCE1247

SUB- OPERTING SYSTEM LAB


SUBMITTED TO: PROF. SIVAGAMI M

1. Simulate CP linux command using C


2.Simulate MV linux command using C
3.
Perform arithmetic operations using command line arguments.
4.

Check whether the given string is palindrome or not and ensure to take
the input while executing he program.
5. Create 3 child processes from the same parent process and

show the child processes are created from the same parent
process.
6.
(a)They are used when we need to control our program
from outside instead of hard-coding it.

(b)They make installation of programs easier.

. (c)To allow the usage of standard input and output so


that we can utilize the shell to chain commands. To
override defaults and have more direct control over the
application.

You might also like