KT24403: Operating System
Lab 1: Introduction to Linux (5 Marks)
STEP 1
Download and install VirtualBox
STEP 2
Download Ubuntu 16.04.6: [Link]
STEP 3
In VirtualBox, create a new machine using Ubuntu image
STEP 4
Start the new Ubuntu machine, to get the following running:
STEP 6
Create a new folder. In the Terminal, type:
mkdir OS
cd OS
STEP 7
Create a new file one.c, in the Terminal type:
nano one.c
In nano editor, type the following code:
#include <stdio.h>
int main(void) {
printf("Hello world\n"); return 0;
}
Save the code, press Ctrl X, then choose Y, and finally press ENTER.
In the Terminal prompt, compile the code, type:
gcc one.c -o one
Run the code, in the terminal, type:
./one
SUBMISSION
Due: 27 March 2024
Task: Upload a one-minute video link to demonstrate the installation of Ubuntu in your system.
Guide: [Link]