Skip to content

Your first project is to write a simple shell - myshell - that has the following properties: 1. The shell must support the following internal commands: i. cd <directory> - change the current default directory to <directory>. If the <directory> argument is not present, report the current directory. If the directory does not exist an appropriate e…

License

Notifications You must be signed in to change notification settings

Dfaults/simple-shell---myshell--

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

simple-shell---myshell--

Your first project is to write a simple shell - myshell - that has the following properties:

  1. The shell must support the following internal commands: i. cd - change the current default directory to . If the argument is not present, report the current directory. If the directory does not exist an appropriate error should be reported. This command should also change the PWD environment variable. ii. clr - clear the screen. iii. dir - list the contents of directory iv. environ - list all the environment strings v. echo - display on the display followed by a new line (multiple spaces/tabs may be reduced to a single space) vi. help - display the user manual using the more filter vii. pause - pause operation of the shell until 'Enter' is pressed viii. quit - quit the shell ix. The shell environment should contain shell=/myshell where /myshell is the full path for the shell executable (not a hardwired path back to your directory, but the one from which it was executed)

About

Your first project is to write a simple shell - myshell - that has the following properties: 1. The shell must support the following internal commands: i. cd <directory> - change the current default directory to <directory>. If the <directory> argument is not present, report the current directory. If the directory does not exist an appropriate e…

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published