Dan Ports 6.033 handson #2 - 2004/02/19 Karger TR1 1. ps | sort -r +4 2. grep a /usr/share/dict/words | grep b | grep c | grep d | grep e | grep -c f 3. yes "1 0" | fmt -w 15 | head -n 7 4. ls -l /etc/*.conf | sort -r +4 | head -n 5 5. 'ls > temp; head -1 < temp' requires that a 'temp' file can be created in the current working directory. If permissions prevent this, then the command will not work. Worse, if there is already a 'temp' file, it will be overwritten. 6. temp4 contains: y y n n This is what we expect, since (myyes & myyes) runs both processes at the same time, while (myyes ; myyes) waits for the first process to finish before starting the second. 7. ~ 30 min $Id: handson2.txt,v 1.2 2004/02/18 21:01:29 dan Exp $