- Type
- Quiz
- Course
- CS604P Operating Systems (Practical)
- Size
- PDF 3.8 MB
- Updated
- 23 Oct 2026
You get 3 free files a day on the website. Add the Chrome extensionSign in with the extension for 30 a day.
Preview text
Text from pages 1, 2, 3 of 42. Download the file for all 42 pages.
Lab 1
Installation of Virtual Box and Ubuntu
In order to practice the C code in Linux environment, you are required to install Virtual Box and Ubuntu operating system on your systems using the guidelines given below.
Solution:
Following are the guidelines and helping material including required software and their installations:
Step No.1 To install the Linux first you have to install Virtual Box visualization software in your Computer system.
Follow the tutorial to download Virtual Box form the following link:
(You can use VMware as well.)
Step No.2 Download Ubuntu Linux from the following link:
Follow these tutorials to install Ubuntu Linux in Virtual Box:
Lab 2
2.1 Linux commands for managing directories and files
Practice the following Linux commands in Shell:
- Write a command to show your current working directory.
- Write a command to change your current directory to Desktop.
- Write a command to create a directory structure as: CS604/Files/CFiles
- Write a command to display the contents of Desktop.
- Write a command to remove a directory named CS604.
Solution:
- Write a command to show your current working directory.
- Write a command to change your current directory to Desktop.
- Write a command to create a directory structure as: CS604/Files/CFiles
- Write a command to display the contents of new created directories.
- Write a command to remove a directory named CS604.
2.2 Compiling and running C code in Linux
Write a program in C which will display your student id and name as output. Compile and execute your program in Command prompt to display the output as shown below.
Related CS604P files
All CS604P files →Get more out of VUBuddy, for free
- Unlimited downloads
- The explanation behind every MCQ answer
- Study offline on slow data
- 30 downloads a day instead of 3
- Sign in and buy Pro Semester here
One Pro Semester membership works in both the extension and the app.