linux script

  • Thread starter Thread starter rjnlinux
  • Start date Start date
R

rjnlinux

#!/bin/ksh

user1=`who am i|awk '{ print $1 }'`
echo $user1

==================
above is my script
This works from prompt
however it does not work from cron

please help

Continue reading...
 
Back
Top