Have an issue with the following snippet of code, in particular the execution of the `gzip -9 ${ARCHIVE_FILE}`.
It is failing with a ReturnCode of 1 - Can anyone lead me to a souce that identifies & describes what RC's there are for gzip, as I've not been able to find any.
echo '-- TARing up... (1 Reply)
Hi I have to move data to a file based on the valuies of first three characters in a file I am using the following script
FIN=$LOC/TEST.TXT
FEEDFILE=$LOC/TUE_GROSSJE.TXT
#Read the file
while read FDROW
do
FEEDROW=$FDROW;
DTYPE=`echo $FEEDROW |cut -c 1-3`
if ; then
$FEEDROW... (4 Replies)
Hi,
I am getting an error while trying to gzip a file in Unix environment.
Below given is the error message I am getting.
gzip: FSUM7351 not found
I could not see the file 'gzip' in /bin root directory.
Is this the reason for this?
Please help me . (4 Replies)
I have two huge files on AIX Ver 5.0. File size of each file is 6238884375 bytes. There is huge difference in sizes when I zip them by gzip coomand.
File1.gz 586147513
File2.gz 547585695
Any idea why it is so?
Thanks
Sumit (2 Replies)
Hi,
I am getting this error
gunzip file1.tar.Z
gunzip: file1.tar.Z: not in gzip format
Any clues? This goes bad only in some recent installations of ids (5 Replies)
Hi all...
I have the following code:
FILE *fp = popen(" gzip -dc /somemount/somefile.gz", "r");
while(fgets(buffer, 1024, fp))
{
some code....
}
"/somemount" is a mount of some network drive. Sometimes error occurs in while loop - I can see the following "Input/Output error"... (4 Replies)
Hi All,
I have a random test file: test.txt, size: 146
$ ll test.txt
$ 146 test.txt
Take 1:
$ cat test.txt | gzip > test.txt.gz
$ ll test.txt.gz
$ 124 test.txt.gz
Take 2:
$ gzip test.txt
$ ll test.txt.gz
$ 133 test.txt.gz
As you can see, gzipping a file and piping into gzip... (1 Reply)
hello
every time i run the following code
for val in fileX fileY fileZ
do
$val=`ls -l $val | awk '{print $5}'`
done
i got error message command not found , i tried to add ' and " but nothing works
its only worked wen remove $val=
but i want the name of the file and the value
... (9 Replies)
Hello,
When i run the shell script in Solaris, i am getting the below error.
/bin/sh: Test.sh: not found
I have tried including "#!/bin/bash" , did not work,
tried with #!/bin/ksh , did not work,
tried without the above include in the script, but still did not work.
Please help me to... (5 Replies)
Could you let me know if my path is having bourne bash
echo $PATH
/u01/app/oracle/product/10.2.0/db_1/bin:/usr/sbin:/usr/kerberos/bin:/usr/local/bin:/usr/bin:/bin:/usr/X11R6/bin:/home/oracle/bin
$ which bash
/bin/bash
$ which ls
alias ls='ls --color=tty'
/bin/ls
Below is... (3 Replies)