The document provides instructions to capture screenshots of network configuration commands on Windows and Linux, explains the F7 function in the mc file manager creates directories, and summarizes the output of a C++ program that uses fork() to create a new process.
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0 ratings0% found this document useful (0 votes)
225 views4 pages
Osg202 - Lab 1 - Se183451
The document provides instructions to capture screenshots of network configuration commands on Windows and Linux, explains the F7 function in the mc file manager creates directories, and summarizes the output of a C++ program that uses fork() to create a new process.
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 4
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).