HP Unix | Urgent Need Help

Hi,

I'm new to unix and i'm using HP Unix

I tried the following and getting error like

  1. $sam
    sh:sam not found

2.Also i want to monitor/trace other user's command what they are using when am in to the same server

Appreciate if any one help on this

find / -name sam -type f 2>/dev/null
echo $PATH

Try /usr/sbin/sam

/usr/sbin/sam

To review commands of others ( need to be root to do this )

You can simply view their HOME/.sh_history file

  1. Are you root.
  2. same as "411seeker"