[Solved] How to view the contents of the .depot files


 
Thread Tools Search this Thread
Operating Systems HP-UX [Solved] How to view the contents of the .depot files
# 1  
Old 03-29-2010
[Solved] How to view the contents of the .depot files

Hi,

I have one depot file. I would want to view the contents of this file with out extracting and with out installing in a machine. Like for

Code:
$rpm -qlp rpmfilename

will list out all the files in a rpm. Like I would want a command to view the files from a .depot file. I tried with swlist command. but I couldnt make this success.
# 2  
Old 03-29-2010
HP-UX depots are just TARs with some additional information inside (much like the package format in Slackware Linux, or Solaris). Just run a
Code:
tar -tf /path/to/depot

on them and you should see all you need.
# 3  
Old 03-30-2010
Thanks pludi. It works.

And I found it, using swlist command also,

Code:
swlist -l file -s filename.depot

Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

View all jar files contents in one go ?

I can view a jar file contents using the below command: $ jar -tvf ./checker-compat-qual-2.0.0.jar 0 Mon May 02 18:28:46 IST 2016 META-INF/ 184 Mon May 02 18:28:44 IST 2016 META-INF/MANIFEST.MF 0 Mon May 02 17:20:16 IST 2016 afu/ 0 Mon May 02 17:20:16 IST 2016 afu/org/ ... (5 Replies)
Discussion started by: mohtashims
5 Replies

2. UNIX for Beginners Questions & Answers

View file contents created by dbCAmplicons as tab delimited

I have run the following command : od -c Results_May18.fixrank | head Here is the result. I wanted the results in tab delimited. Thanks $ od -c Results_May18.fixrank | head 0000000 M 0 1 6 0 1 : 1 2 9 : 0 0 0 0 0 0000020 0 0 0 0 - A T T D Y ... (2 Replies)
Discussion started by: Benard
2 Replies

3. UNIX for Advanced & Expert Users

Using vim to view the contents of a directory

When I use this command: vi /home/bob/.vimI expect to see. " ============================================================================ " Netrw Directory Listing (netrw v149) " /home/bob/.vim " Sorted by name " Sort sequence:... (4 Replies)
Discussion started by: cokedude
4 Replies

4. HP-UX

[Solved] HP-UX lsof depot installation

Hi Experts, We need to install lsof package on one of the hp-ux itanium servers. I found that following link contains (HP-UX Internet Express for HP-UX 11i v2) which contains depot file for lsof as well. ... (2 Replies)
Discussion started by: sai_2507
2 Replies

5. UNIX for Dummies Questions & Answers

[Solved] Symbolic links - viewing contents

Hi, I did do a search and there are lots of threads about creating/deleting symbolic links but nothing about actually viewing the target of a link. I have the following: bash> ls -l /usr/bin/python lrwxrwxrwx 1 root other 9 Apr 22 16:08 /usr/bin/python -> python2.6 Fine - but now I... (2 Replies)
Discussion started by: nelmo
2 Replies

6. Shell Programming and Scripting

trying to view contents of an existing script

root#pwd /opt/tools root# cat check_traffic /opt/tools/utils/commands $1 /opt/tools/utils/DIR/check_traffic root# cat /opt/tools/utils/DIR/check_traffic gew "check_traffic -v" Hi above script works for checking traffic for an ip address im trying to view the check_traffic script by... (5 Replies)
Discussion started by: slashbash
5 Replies

7. Shell Programming and Scripting

[Solved] Lookup a file and match the contents

Hi, I appreciate all who have been very helpful to me in providing valuable suggestions and replies. I want to write a script to look up a file and match the contents. Let me go through the scenario. Lets say i have two files Content file: abc, bcd, adh|bcdf|adh|wed bcf, cdf,... (2 Replies)
Discussion started by: forums123456
2 Replies

8. UNIX for Dummies Questions & Answers

[Solved] to view a zipped file

Hi, I'm having a file which doesn't have any extension like .gz or .tar But i belive it's a zipped file because it's a archive path, i tried to view the file through zcat but it's not working the below shown is the file name PCLI_INXSTATUS_DEFF_I2705541_110927014513 Thanks for the... (4 Replies)
Discussion started by: thelakbe
4 Replies

9. Programming

view contents of shared library

Hi , i have two doubts in Hp-Ux 1) How to View objects or contents in a shared library in HP-Ux 2) Can i added a c object file to the existing shared file from a different directory . for example : I have two directories X and Y I have a.o b.o c.o object files in X directory I... (4 Replies)
Discussion started by: naren_chella
4 Replies

10. UNIX for Dummies Questions & Answers

Unable to view contents of a directory

Hi, first post here be gentle. Very new to Unix. Using HP-UX 10.20 I CD into a remote directory on one machine $ cd /net/remote hostname yet when I do an ll in this directory none of the contents appear. It just is empty. when I do the same command from another machine, $ cd... (13 Replies)
Discussion started by: maddave
13 Replies
Login or Register to Ask a Question