#!/bin/bash
#This one was easy to do simply but elegance was a harder target 
#the core of it was w | grep $@ 
#the "| cut -b 0-9" was necesarry for only the username
#The echo on failure is often used to let the user know how to use a program.

if [ $# -eq 0 ]
then
echo "Format: userprogbg string"
else
ps aux | grep $@ | cut -b 1-9 

fi
