HP Unix | Urgent Need Help


 
Thread Tools Search this Thread
Operating Systems HP-UX HP Unix | Urgent Need Help
# 1  
Old 11-08-2007
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
# 2  
Old 11-08-2007
Code:
find / -name sam -type f 2>/dev/null
echo $PATH

# 3  
Old 11-09-2007
Try /usr/sbin/sam
# 4  
Old 11-09-2007
/usr/sbin/sam

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

You can simply view their HOME/.sh_history file
# 5  
Old 11-11-2007
1. Are you root.
2. same as "411seeker"
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Urgent: UNIX system does not boot

UNIX sco release 5.05 system does not boot: cannot open device hd(40)/boot stage 1 boot failure: error loading hd(40)/boot what to do? (1 Reply)
Discussion started by: Joaoalpande
1 Replies

2. UNIX for Advanced & Expert Users

UNIX ques!! Ans URGENT!!

hello guys!! need 1 favour from u all.. Can u jst tell me the answers for these ques?? 1. ls - l _____ : command to return all files that end with single digit and those with TXT extension 2. ls -l report* _______ : command to return all files that start with the word RPT except those with LOG... (1 Reply)
Discussion started by: Gan_7
1 Replies

3. UNIX for Dummies Questions & Answers

Unix Command Urgent Help!

Hi All, i am new on this forum, can someone please answer the following questions as i am also new for UNIX, you help would be much appreciated: 1. How do you delete the full directory hierarchy? 2. How do you find out all process run by user Kamran ? 3. how would you extract something... (1 Reply)
Discussion started by: kami151
1 Replies

4. Emergency UNIX and Linux Support

UNIX script URGENT!!!

#!/bin/sh INPUT () { echo "Please enter line number: " read LINE echo "Please enter column number that you want to modify: " read COLUMN head -$LINE dataf > line1; LINE=`expr $LINE + 1` head -$LINE dataf > line2; diff line1 line2 > tmp; sed -e... (18 Replies)
Discussion started by: beginner1988
18 Replies

5. UNIX for Advanced & Expert Users

Need a unix script - very urgent

Hi All, I need a script that invokes the sql query every 14 days and send email Very Very urgent this one to me.... (6 Replies)
Discussion started by: bujjisveeru
6 Replies

6. UNIX for Dummies Questions & Answers

Few general unix qns..URGENT!!

hey guys, I have a few general qns on unix, so I'd appreciate quick responses. 1. How do u read a file line by line and display its contents using KSH? 2. How to kill a process using only the name? 3. How to create an empty file with 1MB memory size? 4. How to append some content to an... (2 Replies)
Discussion started by: sasuke_uchiha
2 Replies

7. Shell Programming and Scripting

[urgent need help] unix script....

hi experts, i'm new in scripting unix i have some problem with my script below is shown my script : #!/bin/sh BASEDIR=/export/home/mapadm BINDIR=$BASEDIR/bin LOGDIR=$BASEDIR/log TDRDIR=$LOGDIR/TDR BACKUPDIR=/data/log export BASEDIR BINDIR LOGDIR TDRDIR BACKUPDIR YEAR=`date '+%Y'`... (21 Replies)
Discussion started by: bucci
21 Replies

8. Shell Programming and Scripting

Urgent Need your help --New to Unix

I am getting data like this in a flat file seg No Test A4 0000002595, A2, test ,Datatest Test, A1 0000002595, A1,SELF , Employed,1,2,3,400.50 Test, A2 0000002595, A2, test ,Data,eurp Test, A3 0000002595, A2, test ,Data I need to produce a flat file so that output file... (0 Replies)
Discussion started by: nikeng
0 Replies

9. UNIX for Dummies Questions & Answers

UNIX linked to Windows Urgent

hey guys! I know this one is simple since you are the gurus. To make a long story short can i install an oracle database on a unix server and link to that server with a asystem that was written in Visual Basic 6? Please help (1 Reply)
Discussion started by: akrum
1 Replies

10. UNIX for Dummies Questions & Answers

I am in urgent need of all UNIX-derivates...

Hi, could anybody name all the different UNIX versions, producer, historie, etc? need a short briefing... THX a lot in advance... Greetings, PatrickXXO (2 Replies)
Discussion started by: PatrickXXO
2 Replies
Login or Register to Ask a Question