I made a couple changes, see if this works for you. #!/bin/sh #gets
current logged in user getUser=$(ls -l /dev/console | awk '{ print $3
}') #gets named firstName=$(finger -s $getUser | head -2 | tail -n1 |
awk '{print ($2)}') lastName=$(finger -s $...