Write a C program that performs the following tasks
1. The program should create a group.
2. The program should create three child processes and add them to the group
3. Each child process should display its PID and the group ID
4. The first child should display all the numbers even numbers between 0 and 100.
5. The second child should execute the command "Is -l -a"
6. The third child should display an echo message "CSE401: Operating Systems Lab Final"
7. The main program should display the message "All child processes have completed" and then exits.
Write a C program that performs the following tasks 1. The program should create a group. 2. The program should create t
-
- Site Admin
- Posts: 899603
- Joined: Mon Aug 02, 2021 8:13 am