Skip to content

Latest commit

 

History

History
48 lines (30 loc) · 974 Bytes

README.md

File metadata and controls

48 lines (30 loc) · 974 Bytes

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.