9 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hi,
I'm trying to run my application on HP-UX server.
I have to extract a *.tar.gz file.
I'm doing that now in 2 steps.
first I gunzip it and then pax it.
My question is how can I check whether the data in the *.tar.gz file is corrupted or not??
Now, I'm trying to do this... (1 Reply)
Discussion started by: Kyaw Lwin Phyo
1 Replies
2. Shell Programming and Scripting
hi friends,
The code:
i=1
while
do
filename=`/usr/bin/ls -l| awk '{ print $9}'`
echo $filename>>summary.csv
#Gives the name of the file stored at column 9
count=`wc -l $filename | awk '{print $1}'`
echo $count>>summary.csv
#Gives just the count of lines of file "filename"
i=`expr... (1 Reply)
Discussion started by: rajsharma
1 Replies
3. Shell Programming and Scripting
Hi All,
I have a file "HOTEL_INFO.zip" and getting the below errors:
server1:/home/arun# gunzip -S .zip HOTEL_INFO.zip
gunzip: HOTEL_INFO.zip: first entry not deflated or stored -- use unzip
server1:/home/arun#unzip HOTEL_INFO.zip
ksh: unzip: not found.
... (11 Replies)
Discussion started by: Arunprasad
11 Replies
4. Solaris
Hello. I'm ingesting files from one system (db hosted on Solaris 10) to another (db hosted on Solaris 9). Files come in zipped, and contain various txt files, which I'll use SQL*Loader to load.
The unzipping, loading etc. is all handled in a ksh shell script. Sadly, we use Putty for all our... (9 Replies)
Discussion started by: Ray Harilal
9 Replies
5. UNIX for Dummies Questions & Answers
I have a zip file as a.zip and it contains 1m xml files. like a1.xml, a2.xml....
The size is also very big nearly 1GB. I want to extract only a123.xml.
Can any one help how can I do this? (1 Reply)
Discussion started by: siba.s.nayak
1 Replies
6. Shell Programming and Scripting
Hi All,
I am using UNIX command to unzip the files
gzip -d9 DW_*.gz
The Xmls are compressed using gzip and it is received in the .gz format at UNIX box which need to be uncompressed.
The above command is working fine for 400 compressed xmls(.gz files) but when the count becomes 401 or more i... (7 Replies)
Discussion started by: Codesearcher
7 Replies
7. UNIX for Dummies Questions & Answers
I've used *nix systems for some time now and have frequently seen a terminal turn to gibberish after using cat or more on a binary file. I'm sure many others have also noticed this. Normally, I just exit the terminal, but I would like a better solution. Certainly there is some way to "reset" a... (11 Replies)
Discussion started by: quantumechanix
11 Replies
8. UNIX for Dummies Questions & Answers
unzip test.zip ==> This uncompresses and keeps the original zip file.
gunzip test.gz ==> Removes the .gz file after uncompressing.
Is there any switch to make the .gz file available after uncompression.
Thanx in advance. (3 Replies)
Discussion started by: devs
3 Replies
9. UNIX for Dummies Questions & Answers
Hi
can't unzip a gz file in TurboLinux 7.0
when i'm trying this
gunzip filename.tar.gz it always says not in gzip format
what should I do...please help me (4 Replies)
Discussion started by: CreamHarry
4 Replies