Skip to content

Latest commit

 

History

History
20 lines (18 loc) · 695 Bytes

File metadata and controls

20 lines (18 loc) · 695 Bytes

FCFS-SchedulingAlgorithm

First Come First Serve (FCFS) operating system scheduling algorithm

Brief Info

  • The script will prompt the user to enter a valid text file (.txt)
  • A valid .txt file is one that exists, is of .txt extension & is not empty
  • A valid .txt file is going to contain lines of processes with each line being a process containing only Arrival Time & Service Time, separated by comma
  • Sample valid .txt files are located under testcases dir named file?.txt

How to run ?

$ su 
$ ./main.sh

(optional) if the script main.sh for some reason is non-executable then execute the following command

$ ls -l main.sh
$ chmod +x main.sh