Cheatsheet based on @LJWilliams's version (PR #30) with updates to match the Guide
[swc-modular-shell-hearing.git] / shell / shell_cheatsheet.md
similarity index 96%
rename from shell_cheatsheet.md
rename to shell/shell_cheatsheet.md
index 14bcdd3026dac8644d4da43be6412215dce2b39c..707362ecdc2e164cadd7985220a2359bcc5a2f59 100644 (file)
@@ -10,6 +10,9 @@
 | `~`            | refers to your home directory. _Note:_ this command does NOT work on Windows machines (Mac and Linux are okay) |  
 | `cd ./dirname` | changes the current directory to the directory `dirname`                                                       |  
 | `ls -F`        | tells you what files and directories are in the current directory                                              |  
+|  `pwd`         | tells you what directory you are in (`pwd` stands for *p*rint *w*orking *d*irectory)                           |  
+|  `history`     | lists previous commands you have entered. `history | less` lets you page through the list.                     |  
+|  `man` *cmd*   | displays the *man*ual page for a command.                                                                      |  
 
 
 
@@ -160,7 +163,7 @@ continues the loop as long as the value in the variable COUNTER is less than 10
 | `-lt`    | less than                |
 | `-le`    | less than or equal to    |
 
-
+Use `man bash` or `man test` to learn about other operators you can use.