A few questions on basic command-line syntax in Unix shells: 1. How would you log output and error messages from a command to a file? 2. How would you run the same command on every file in a directory? 3. How would you find the PID of a named process (say if you wanted to kill it)?
Anonymous
1. command >file 2>&1 2. cd dir; for i in *; do command; done 3. ps | grep processname or ps -C processname
Check out your Company Bowl for anonymous work chats.