Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Commands:
- -> cd <directory>
- cd will change the current directory to whatever you specify in <directory>. If the
- directory does not exist, an error will be returned in the console. If <directory>
- is left unspecified, cd will display the current directory to the console. You can
- go up a directory level by specifying <directory> to be '..'
- -> clr
- clr will clear the text in the console.
- -> dir <directory>
- dir will list all of the files and sub-directories inside the specified <directory>.
- If <directory> is left unspecified, dir will list all of the files and sub-directories
- inside the current directory.
- -> environ
- environ will list all of the environment strings.
- -> echo <comment..>
- echo will display a string of comments to the console. Any number of arguments sent
- to echo will be displayed.
- -> help
- help will display the readme file for myshell, giving info on how to use the
- commands that myshell provides.
- -> pause
- pause will pause the shell until the user presses enter.
- -> quit
- quit will terminate the shell.
- Command Modifiers:
- -> Background execution (&)
- Adding an ampersand (&) to the end of a command will tell myshell to execute the
- command in the background. While the command runs in the background, the user
- can still use the shell to execute new commands.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement