Cheatsheet based on @LJWilliams's version (PR #30) with updates to match the Guide
authorJon Pipitone <jon.pipitone@utoronto.ca>
Mon, 8 Apr 2013 18:32:28 +0000 (14:32 -0400)
committerW. Trevor King <wking@tremily.us>
Wed, 23 Oct 2013 22:31:13 +0000 (15:31 -0700)
shell/shell_cheatsheet.md [moved from shell_cheatsheet.md with 96% similarity]
shell_outline.md [deleted file]

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.
 
 
 
diff --git a/shell_outline.md b/shell_outline.md
deleted file mode 100644 (file)
index 5227edb..0000000
+++ /dev/null
@@ -1,10 +0,0 @@
-# Is Software Carpentry Right for you?
----
-
-## Shell Outline
-The Software Carpentry lessons on the shell will cover:
-* How to create, delete and move files and directories using the command line
-* How to use pipes and filters to redirect the input/output of commands to get commands to work together
-* How to assign values to shell variables and reference them in your own code 
-* How to create loops to simplify repetitive tasks
-* How to put all of the above into a script/function save and run later