Advertisement
Guest User

Untitled

a guest
Feb 28th, 2020
191
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.34 KB | None | 0 0
  1. Commands:
  2.  
  3. -> cd <directory>
  4.  
  5. cd will change the current directory to whatever you specify in <directory>. If the
  6. directory does not exist, an error will be returned in the console. If <directory>
  7. is left unspecified, cd will display the current directory to the console. You can
  8. go up a directory level by specifying <directory> to be '..'
  9.  
  10. -> clr
  11.  
  12. clr will clear the text in the console.
  13.  
  14. -> dir <directory>
  15.  
  16. dir will list all of the files and sub-directories inside the specified <directory>.
  17. If <directory> is left unspecified, dir will list all of the files and sub-directories
  18. inside the current directory.
  19.  
  20. -> environ
  21.  
  22. environ will list all of the environment strings.
  23.  
  24. -> echo <comment..>
  25.  
  26. echo will display a string of comments to the console. Any number of arguments sent
  27. to echo will be displayed.
  28.  
  29. -> help
  30.  
  31. help will display the readme file for myshell, giving info on how to use the
  32. commands that myshell provides.
  33.  
  34. -> pause
  35.  
  36. pause will pause the shell until the user presses enter.
  37.  
  38. -> quit
  39.  
  40. quit will terminate the shell.
  41.  
  42. Command Modifiers:
  43.  
  44. -> Background execution (&)
  45.  
  46. Adding an ampersand (&) to the end of a command will tell myshell to execute the
  47. command in the background. While the command runs in the background, the user
  48. can still use the shell to execute new commands.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement