Skip to content

saadshahbaz/Mini-Operating-System

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 

Repository files navigation

Mini-Operating-System

About

This is a Mini Operating System, that contains a basic OS Shell which takes the following commands

  • Help
    This gives a list of available commands that the operating system supports
  • set VAR STRING
    Assigns a value to shell memory
  • print VAR
    Displays the value assigned in set
  • run file.txt
    Executes the file
  • excec file1.txt file2.txt file3.txt
    Executes up to 3 concurrent programs
  • quit
    Exits the program

How to run the file

Run ./executable.sh in your command line

Run ./mykernal and a prompt will open up and you can run all the commands given above

Note: If you want to use the txt files provided by me, please download all the files in data folder in the src folder and run

You can also run ./mykernal < TESTFILE.txt to test all the commands and possible errors that my script doesn't support

The solutions to the TESTFILE.txt can be found in the SolutionTESTFILE.txt

Please note that all the code written in the files is for an assignment, and all rights belongs to me. Copying or using the code for an assignment is not allowed and I take no responsibility for any plagiarism or any other issues that you might run into

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published