z/OS UNIX System Services User's Guide
Previous topic | Next topic | Contents | Contact z/OS | Library | PDF


Viewing the contents of an archive

z/OS UNIX System Services User's Guide
SA23-2279-00

To view the contents of the /tmp/project.pax.Z archive created in the previous step, enter one of the following commands:

To list only the names of component files:
pax -f /tmp/project.pax.Z
To list the contents in a verbose format similar to "ls -l":
 pax -vf /tmp/project.pax.Z
For OS/390® Release 7 and later, to list the extended attributes in a verbose format similar to "ls -E":
pax -Ef /tmp/project.pax
Note: The equivalent tar commands are:
  • To list only component files: tar -tf /tmp/project.pax.Z
  • For a verbose list: tar -tvf /tmp/project.pax.Z
  • For extended attributes (OS/390 Release 7 or later):
     tar -tEf /tmp/project.pax.Z

Go to the previous page Go to the next page




Copyright IBM Corporation 1990, 2014