#!/bin/bash # finds the current user's processes in the process list. snuser=$USER if [ -z "$snuser" ]; then snuser=$USERNAME; fi # more checks? what else would we get it from, REPLYTO? bash "$SHELLDIR/users/find_user.sh" $snuser