First Come First Serve (FCFS) operating system scheduling algorithm
- 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
$ 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