Changes between Version 18 and Version 19 of YM_Course_2009/Lab4
- Timestamp:
- Jul 4, 2009, 4:45:05 PM (16 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
TabularUnified YM_Course_2009/Lab4
v18 v19 206 206 207 207 {{{ 208 $cat > test1.sh << EOF208 cat > test1.sh << EOF 209 209 #!/bin/bash 210 210 echo "Enter a filename: " … … 216 216 fi 217 217 EOF 218 $ chmod a+x test1.sh 219 $ ./test1.sh 220 }}} 221 222 {{{ 223 $ cat > test2.sh << EOF 218 }}} 219 {{{ 220 chmod a+x test1.sh 221 ./test1.sh 222 }}} 223 224 {{{ 225 cat > test2.sh << EOF 224 226 #! /bin/bash 225 227 … … 234 236 fi 235 237 EOF 236 $ chmod a+x test2.sh 237 $ ./test2.sh 238 }}} 238 }}} 239 {{{ 240 chmod a+x test2.sh 241 ./test2.sh 242 }}}