#!/bin/sh -u # # $0 (no arguments) # # Produce a list of all processes that are owned by me. # You might want to pipe the output of this script into "more". # -IAN!! idallen@ncf.ca export PATH=/bin:/usr/bin umask 022 # The +2 skips over line 1, which is the title line I don't want sorted. # The ^ means the pattern must start at the beginning of the line. # ps aux | tail -n +2 | grep "^$(whoami)"