Article Listing 1 Listing 2 Listing 3
who=`tail -1 /var/adm/sulog | cut -f6 -d " "` file=$who@`date +%T"-"%m%d%y sleep 1 HISTFILE=/var/adm/hist/$file HITSIZE=128 export HISTFILE HISTSIZE