The UNIX and Linux Forums  
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.

Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Dummies Questions & Answers
.
google unix.com



UNIX for Dummies Questions & Answers If you're not sure where to post a UNIX or Linux question, post it here. All UNIX and Linux newbies welcome !!

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
multi part compressed files gffb UNIX for Dummies Questions & Answers 7 05-01-2008 08:32 PM
diff on compressed files with tar.gz ext rakeshou UNIX for Dummies Questions & Answers 7 09-20-2007 03:27 PM
Line count for compressed files swamy455 Shell Programming and Scripting 1 08-02-2007 11:40 PM
delete compressed files from year 2005 igidttam UNIX for Dummies Questions & Answers 5 03-23-2007 04:42 PM
import compressed files using pipe pengwyn UNIX for Dummies Questions & Answers 0 07-19-2005 03:57 AM

Closed Thread
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish Bulgarian Greek Powered by Powered by Google
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
  #1 (permalink)  
Old 02-12-2009
supercops supercops is offline
Registered User
  
 

Join Date: Jan 2009
Posts: 25
To view compressed files

Hello All

I compressed a file hello by using compress command

compress hello ( enter )

i got the file as hello.z

1. My question is how can i see the file hello.z

2. How can i uncompress it back to change it to filename hello

thanks
  #2 (permalink)  
Old 02-13-2009
frank_rizzo frank_rizzo is offline Forum Advisor  
Resident BOFH
  
 

Join Date: Dec 2007
Posts: 426
1) use the zmore or zcat command.

ie: zcat hello.Z

2) uncompress hello.Z

the suffix is capital Z

Last edited by frank_rizzo; 02-13-2009 at 02:16 AM.. Reason: answer second part of question
  #3 (permalink)  
Old 02-13-2009
laknar laknar is offline
Registered User
  
 

Join Date: Apr 2007
Posts: 55
ls *.z to list the compressed files
uncompress *.z to uncompress all the compressed files
  #4 (permalink)  
Old 02-13-2009
sivakumar.rj sivakumar.rj is offline
Registered User
  
 

Join Date: Sep 2008
Posts: 74
uncompress <filename>.z will uncompress the files.

cat will list the uncompressed file contents.
  #5 (permalink)  
Old 02-13-2009
supercops supercops is offline
Registered User
  
 

Join Date: Jan 2009
Posts: 25
Yeah thanks for your help .

I can uncompress the files now as i was using smaller z rather then capital Z
Closed Thread

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT -4. The time now is 09:22 PM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited. Language Translations Powered by .
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios
The UNIX and Linux Forums Content Copyright ©1993-2009. All Rights Reserved.Ad Management by RedTyger

Content Relevant URLs by vBSEO 3.2.0