Tty=$(tty|cut -f3-4 -d/)
Per=`last |grep $Tty |head -1 | awk '{ print $1 }' |cut -c 1-5`
HISTFILE=/var/spool/mail/.sh_hist.$Per
Requires Free Membership to View
SearchSecurity.com members gain immediate and unlimited access to breaking industry news, virus alerts, new hacker threats, highly focused security newsletters, and more -- all at no cost. Join me on SearchSecurity.com today!
Michael S. Mimoso, Editorial DirectorThis was first published in January 2003