Skip to content

fbn776/OS-Lab

Repository files navigation

OS-Lab

Code for KTU S4 OS lab (CST 201).

How to run

For shell scripts, use the linux terminal (bash) to run the scripts. For example, to run the factorial script, use the following command:

chmod +x file.sh
./file.sh

For C programs, compile the program using gcc and run the executable. For example, to run the FCFS scheduling algorithm, use the following commands:

gcc fcfs.c -o fcfs
./fcfs

NOTE: Most C codes work only for POSIX systems. For Windows, use WSL or Cygwin.