Update shell_cheatsheet.md
authorLynne Williams <williams.lynne99@gmail.com>
Sun, 17 Feb 2013 16:31:11 +0000 (11:31 -0500)
committerW. Trevor King <wking@tremily.us>
Wed, 23 Oct 2013 22:27:29 +0000 (15:27 -0700)
shell_cheatsheet.md

index 56dad1fbf52f541618073367c589589626dd7e15..78de734c422ea8f99f34ac368afc0cd988c13bb2 100644 (file)
@@ -105,6 +105,16 @@ changes all the instances of the word `markdown` to `software` in the first 5 `*
 ## 5. Loops
 NEED TO DO VARIABLE ASSIGNMENT FIRST!!!!
 ### a) How to repeat operations using a loop...
 ## 5. Loops
 NEED TO DO VARIABLE ASSIGNMENT FIRST!!!!
 ### a) How to repeat operations using a loop...
+
+    for varname in list
+    do
+        command 1
+        command 2
+    done
+
+
+
+
 * **`for`** -->  
     `for filename in *.dat
     do
 * **`for`** -->  
     `for filename in *.dat
     do