Question: Question #1 What functionality will be performed by the following commands on a LINUX shell? Briefly describe each command that is specified. (16 marks) 1.

Question #1 What functionality will be performed

Question #1 What functionality will be performed by the following commands on a LINUX shell? Briefly describe each command that is specified. (16 marks) 1. cat /etc/passwd 2. cp oldfile mynewfile 3. my myfile yourfile 4. ping 192.168.1.1 5. rmdir existingdirectory 6.cd ../home/users/computerhope 7. chdir public_html 8. man mkdir Question #2 What do you think is the role of system calls in an operating system? Explain your answer with few examples. Question #3 How do processes communicate with one another? Explain Different Message Passing Systems. Also simply names of IPC tools. Question #4 What would be the output of the following code segment, if the current working directory contains the following files and directories: .bashrc, .profile, .private, test.c, main.c, courses, personal. FE::::::::::::::::::::::::::::::: main() pldt childpid; childpad = fork); if (childpid ----) printf("Fork failea. "); exit(1); if (childpid -- 0){ if (execip /bin/1s". Is./", NULL)

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related General Management Questions!