280 cat 281 echo hello >there 282 cat there 283 cat here 285 cat >notes xxx echo writing scripts >>notes xxx cat notes 297 cat listhome 298 less listhome 299 ls /homeworks/hw1soln >log 300 cat log 301 clear 302 ls /homeworks/hw1soln 2>log 303 cat log 304 ls 305 pwd 308 wc -l <mtn.raw 326 ls -l 327 djpeg thumb.jpg 328 ls -l 329 display thumb.jpg xxx echo hello; echo world xxx ls homeworks xxx ls homeworks || mkdir homeworks xxx ls homeworks xxx ls notes && echo "combine your commands" >notes/tips.txt xxx ls notes/tips.txt xxx mkdir notes && echo "combine your commands" >notes/tips.txt xxx ls notes/tips.txt xxx vim listhome xxx chmod +x listhome xxx ./listhome xxx vim countdown xxx chmod +x countdown xxx ./countdown 362 history > lec3.history Extra: direct stderr to stdout, then both go to pipe cmd 2>&1 | cmd direct both stderr and stdout to same file cmd &>file