Life Long Learning Lab Exam1 Questions
Life Long Learning Lab Exam1 Questions
Linux commands:
Programs:
1.Write a Shell program to check whether the file has execute permission or not. If not,
add the permission.
2. Write a Shell program to find the sum of N numbers?
3. Write a program to check all the files in the present working directory for a pattern
(passed through command line) and display the name of the file followed by a
message stating that the pattern is available or not available.
4.Write a Shell program to check whether the file has execute permission or not.
5.Write to C program to create a PROCESS using fork() system call?
6.Write a C program to print the Child process ID and Parent process ID in both Child and
Parent processes.