swlist is not displayed in HP-UX


 
Thread Tools Search this Thread
Operating Systems HP-UX swlist is not displayed in HP-UX
# 1  
Old 04-22-2008
swlist is not displayed in HP-UX

Hi
swlist command is not displayed in HP-UX ..it displays
swlist: Command not found.

uname -a
HP-UX inccishh B.11.11 U 9000/800 4046719263 unlimited-user license
Smilie

Best Regards
vasanthan
# 2  
Old 04-22-2008
Most surprizing, but normal if you are not an admin...
a user normally should not have access to administrative commands and so does not have /usr/sbin in his path...
I suppose your case also...
try:
ll /usr/sbin/swlist
# 3  
Old 04-22-2008
Be root !

Quote:
Originally Posted by vasanthan
Hi
swlist command is not displayed in HP-UX ..it displays
swlist: Command not found.

uname -a
HP-UX inccishh B.11.11 U 9000/800 4046719263 unlimited-user license
Smilie

Best Regards
vasanthan

Hello,

be root !
# 4  
Old 04-22-2008
could be your path doesn't have the directory that swlist is in?
"Command not found" is typical for path issue.

you don't need to be root to run swlist "swinstall now thats another matter"

Code:
whereis swlist

# most likely: /usr/sbin/swlist

# 5  
Old 04-24-2008
if you logged in as normal user then type $/usr/sbin/swlist.
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. SuSE

No IP address displayed in who command

when i open a terminal session of my SUSE server using puTTy and type "who am i" then it displays my local pc ip address. root@LinuxSUSE1> who am i root pts/8 2012-03-28 16:02 (192.168.134.213) But when i open a terminal session of my SUSE server using Xmanager's Xstart and type... (9 Replies)
Discussion started by: Arun_Linux
9 Replies

2. Shell Programming and Scripting

perl - output not being displayed

Hi All I have the following code sub pall_nvrm { my $cmd = `pall -w "/u/ab/scripts/dev/nvrmerros/nvrmpaller"`; print $cmd; } if i run pall -w "/u/ab/scripts/dev/nvrmerros/nvrmpaller" in a shell i get this sort of out put eagley: boxted: cadle: eabost: hales: (3 Replies)
Discussion started by: ab52
3 Replies

3. Shell Programming and Scripting

Suppressing a message from being displayed

I have a script which checks for *.txt files in a particular directory and if no files were found then it goes into sleep for 10 secs and looks back for files again and if any files were found then the script does some processing with the files found, which is my requirement too. FILE_EXISTS=`ls... (5 Replies)
Discussion started by: vpv0002
5 Replies

4. Shell Programming and Scripting

Highlight the string displayed

Hi, Want to highlight the string displayed on the screen. ften="File selected" FB1="\e From the above code, String "File selected" gets highlighted, but the string in the next line does not get highlighted. I tried using FB1& FB2 variables but didn't worked out may be due to too... (1 Reply)
Discussion started by: milink
1 Replies

5. UNIX for Dummies Questions & Answers

Date to be displayed in two digits

I want the date to be displayed in two digits. I have written a script to calculate yesterday's date. I'm getting the yesterday's date as 2009085. Desired output: 20090805 Find the script below: #!/bin/ksh ### Script to get Yesterday Date ############# Y=`date +'%Y'`... (6 Replies)
Discussion started by: venkatesht
6 Replies

6. HP-UX

swlist -l patch question

when i type command : swlist -l patch how to do that i can only show gcc this line only # gcc 4.2.3 gcc not to show other line # gcc.gcc-INC # gcc.gcc-MAN # gcc.gcc-RUN how to do? example # gcc 4.2.3 ... (2 Replies)
Discussion started by: alert0919
2 Replies

7. Shell Programming and Scripting

Data displayed in two lines

Hi, I am a newbie to both Linux and this forum. I was trying to pull out the data from a database but it is not showing up in the multiple lines, with my limited knowledge i linux u tried to format this but wasn't exactly getting what i wanted. The screenshot below shows my problem. ... (2 Replies)
Discussion started by: Ninjaa
2 Replies

8. Shell Programming and Scripting

Password is getting displayed

My shell script which runs on solaris has an execution in it. Contents of shell script BEGIN : Executable_filename username/password@DBinstance parameter2 parameter3 Contents of shell script END : When i launch the shell script, it connects to database to gets few details.. In the... (3 Replies)
Discussion started by: shafi2all
3 Replies

9. HP-UX

to execute the command swlist

I tried executing the following command to check the version of Apache installed byfusp01 $ swlist | grep -i apache ksh: swlist: not found Do I need root permission to execute this command? how about lvdisplay / pvdisplay? Please help me. Thanks (6 Replies)
Discussion started by: vivek_damodaran
6 Replies

10. Solaris

hostname not displayed

Hi, I posted a problem earlier on on how to change IP addresses on an E450. I was able to work around this and wanna say thanks to all who assisted. But now on my server, I get this error, trying to configure hosts..RPC timed out. Also, when I type on the command line, hostname, nothing is... (7 Replies)
Discussion started by: Ronny
7 Replies
Login or Register to Ask a Question