![]() |
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.
|
|
google unix.com
|
|||||||
| Forums | Register | Forum Rules | Links | Albums | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| Shell Programming and Scripting Post questions about KSH, CSH, SH, BASH, PERL, PHP, SED, AWK and OTHER shell scripts and shell scripting languages here. |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| search for the contents in many file and print that file using shell script | cdfd123 | Shell Programming and Scripting | 3 | 10-07-2007 10:17 PM |
| view contents of shared library | naren_chella | High Level Programming | 4 | 05-26-2006 01:01 PM |
| Creating file contents using contents of another file | ReV | Shell Programming and Scripting | 21 | 02-24-2006 10:25 AM |
| Reading specific contents from a file and appending it to another file | dnicky | Shell Programming and Scripting | 5 | 10-04-2005 05:45 AM |
| Unable to view contents of a directory | maddave | UNIX for Dummies Questions & Answers | 13 | 10-25-2001 01:50 AM |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
||||
|
Hi All,
I have several .gz files and i need to see the contents of these file, without extracting these file. If i extract these file the space will be full so. I need to see the contents and parse the contents to a script to extract data from these. Please let me know if you need any more information. thanks and regards, Amit |
|
||||
|
zcat is used for compressed file. These are zip files. Also i dont wante to see the file name, but i need to read the zip file.
for example:- the zip file is a.gz, however the orginial file inside is a.txt. I want to see wht is there in a.txt and pipe it to another file and use that somewhere else. Assumming the data in a.txt is 12368464,ffg,afasdffads,3243,dfdarf so i need to know wht is in the a.txt Hope now the requirement is clear. Thanks, amit |
|
||||
|
@ Command is : gzip -cd <file> | more
This command works in case of single file in the archive... if there are multiple files in archive rest of the file are skipped... I get this message: "gzip: test.zip has more than one entry--rest ignored" Any suggestions to extract specific file from a zip archive with multiple files? |
|
||||
|
Hi I have a problem. I have a .GZ file say tosattam.GZ
If I unzip the file using winzip in windows the extract comes out as asd_123.txt but when i am trying gunzip or gzip -d after bringing the file in UNIX I am getting tosattam as the extract from the same .GZ file. The one I am getting in windows is correct I know. But why am I not getting the same in UNIX??!! totally confused |
![]() |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|