hi guys
Was wondering if you can help me.
For my scripts i usually use below for the currently logged in user
ls -l /dev/console | cut -d " " -f4
this returns tkimpton@rufusleonard.hq
Im trying to work out how to strip out @rufusleonard.hq so i am left with tkimpton.
Any ideas?