/operating-systems

Simulation for some operating system tasks and operations like "CPU Scheduling", "Router Simulation" and "Command line interpreter"

Primary LanguageJava

operating systems various tasks and operations

1. CPU-Scheduling:

CPU Scheduler Simulation using various CPU-Scheduling techniques.

- FCFS algorithm
- SRTF algorithm
- RR algorithm
- Priority algorithm

2. Command-Line-Interpreter

Basic command line interpreter support various CLI commands.

- cd : cd [directory] - change directory
- ls : ls || ls [Directory] - list all files in directory
- pwd : pwd - print the working directory
- cp : cp [file] [file] - copy file
- mv : mv [file] [file] - move file
- rm : rm [file] - remove file
- mkdir : mkdir [directory] - create directory
- rmdir : rmdir [directory] - remove directory
- cat : cat [file] [file] - concatenate files and print on the output
- date : date - print the current date
- more : more [file] - display and scroll down the output in one direction
- clear : clear - clear the terminal
- help : help - print all commands and their usage
- args : args [command] - list all commands arguments
- Redirect operator > : command > [file name] - overwrite the output to the file
- Redirect operator >> : command >> [file name] - append the out put to the file

3. Router-Simulation:

Multithreaded Router Simulator in Java using Semaphores.