Operating System Lab Submitted By: Zahra Batool ID:19014020005 Program: CS-11
This document provides instructions for operating system tasks like checking the GCC version, opening and editing a C program file, compiling C code, and viewing the output. It lists commands to check the GCC version with "gcc –version" or "gcc –v", open a C program file for editing with "sudo gedit program.c", compile C code with "sudo gcc program.c" or "sudo gcc –o program program.c", and view the output.
Download as DOCX, PDF, TXT or read online on Scribd
0 ratings0% found this document useful (0 votes)
22 views
Operating System Lab Submitted By: Zahra Batool ID:19014020005 Program: CS-11
This document provides instructions for operating system tasks like checking the GCC version, opening and editing a C program file, compiling C code, and viewing the output. It lists commands to check the GCC version with "gcc –version" or "gcc –v", open a C program file for editing with "sudo gedit program.c", compile C code with "sudo gcc program.c" or "sudo gcc –o program program.c", and view the output.