Skip to content

A fully functional Operating System including small javascript projects which work as processes within the operating system. This project was created in JavaScript.

MansiSaini/OperatingSystemProject

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 

Repository files navigation

CSC415_OperatingSystem

RUNNING INSTRUCTIONS:

Step 1:

  • Download the entire folder "final_project6 v6" to your local disk.

Step 2:

  • Open the file "Display.html" on a browser (Firefox).

  • To view the web console, go to Tools -> Web Developer -> Web Console (Firefox)

  • The "console" displays the states of all running processes

Step 3:

  • Type in the command that you want to test [OR] type in the name of the process you want to run

USERNAMES AND PASSWORDS:

nimitha : S28ecsCp
tony : 12345678
yongcai : 87654321
mansi : 55443322
mayank : zero1234
chihuahua : jagatchi
loloco : aaaa1111

Super user:

admin : admin123

NEW COMMANDS:

checkfile FileName

// indicate whether the file can be executed and by whom

printfiles

// prints all existing files on the system

showUser

// prints all usernames and passwords (admin access required)

newuser newUserName newPassword

// Adds a new user (admin access required)

changepw userName newPassword

// Changes an existing user's password (admin access required)

deleteuser userName

// Deletes specified user (admin access required)

chmod fileName newPermission

// changes permissions of the specified file (admin access required)

OTHER FEATURES:

This project now implements directory structures.

It returns a memory error when a 100 MB limit is reached.

Includes a process that copies a file over and over again.

COMMANDS:

dir

// returns the amount of disk space available

cd FolderName

// navigates to the child folder specified

cd ..

// navigates to the parent folder

OTHER COMMANDS:

cat FileName

// use ls to display available files.

man CommandName

ls

kill FileName

// use ps to check for an available file.

ps

// this command shows all running processes in the system.

clear

copy FileName NewFileName

// use ls to display available files.

delete FileName

// use ls to display available files.

nameOfFile.js

// to run a process. Use ls to check the file name. For example: banckAccount.js

About

A fully functional Operating System including small javascript projects which work as processes within the operating system. This project was created in JavaScript.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published