Problem
1. Devise a sequence to recursively examine all ordinary files in the current directory and display their total space usage. Hard-linked files will be counted only once.
2. Use awk in a shell script to kill a process by specifying its name rather than the PID.
3. From a tar archive print only the pathnames of directories. Directory pathnames end with a /, but the tar output may contain a variable number of fields.