Capture the terminal screen when using the ifconfig command in Fedora
and the ipconfig command in command prompt in Windows.
Capture the mc screen and give your explanation about the F7 function in
mc.
Explantion: Its function (mkdir) is used to make a new directory in the
directory open in the panel, thus creating many folders.
Submit the C/C++ files and objects (*.c and *.o) as the below content
then capture the result of the program, give your explanation the result of
this program.
Explantion:
- The fork() system call creates a new process. The new process created by
fork() is a copy of the current process except for the returned value. So, in this
case, it dulplicates the main().
- The process has the condition pChild = 0 , so it skips to “else”: printing out
“the child ID” (2847) and returning to main().
- After that, main continues to execute call with pChild = 1, so it continues
from “if”: printing out “The parent ID of new” (2846) and “The new child ID”
(2847).