and changing the attribute file = unlimited will resolve the purpose and so i can gunzip the .zip file using the below command successfully:
Please advise whether ulimit -f unlimited is the appropriate command as to execute from 'root' id? since i dont have authorization to perform this action.
Or advise me, which is the appropritae command/what actually restricting me from ding this?
FYI, the user id here is LDAP maintained and not local.
Thanks.
Last edited by Arunprasad; 06-03-2010 at 07:52 AM..
Reason: forget to add one more point
Thanks a lot for the info!
It seems the !gunzip also works with ".gzip" or ".gz" file. And i surfed around and found that
this command will work but got error.
I believe this is something i need to do with ulimit. i suspect that i need to change the file(blocks) unlimited by the command:
correct me if i am wrong and also advise how a root id can perform this change to unlimited (using what command) and advise is tere any other way to get it done.
Thanks!
Last edited by Arunprasad; 06-03-2010 at 09:50 AM..
Reason: forget to add code tags
Thanks a lot for the info!
It seems the !gunzip also works with ".gzip" or ".gz" file. And i surfed around and found that
From the gunzip, man page,
you seems to be root, its easy to install unzip.
Or check if its available on any other server (probably linux) . If so, ftp the file, extract it with unzip and zip again with gzip. and send back to the server1.
Really thanks a lot for your help!
I think i have diverted you. Here is the output for your suggestions:
1. server1:/home/arun# gunzip < HOTEL_INFO.zip
gunzip: stdin: first entry not deflated or stored -- use unzip
i am not root user and i am not able to install unzip. i thought if i change file(blocks) listed in ulimit -a to be 'unlimited' then i can run the above gunzip commands. So to achieve this is the following command is correct?
but to execute this command i dont have access. Only root can perform. So just curious to know how a root user will perform this change. Please advise.
2. Sorry, i dont have java.
Please help me... Thanks again!
---------- Post updated 06-04-10 at 03:33 PM ---------- Previous update was 06-03-10 at 07:04 PM ----------
Hi Al,,
I have one more question...
when i am able to create a file around 10GB then why such unzip/gunzip is not allowing me to perform even the file is less than 4GB .... (the data are just an example) and say expanding the zipped file will be 10 GB which is originally i created.... it should not be that my original size and this ulimit size should be same?
please advise me on this also.
Last edited by Arunprasad; 06-04-2010 at 04:45 AM..
Location: Saint Paul, MN USA / BSD, CentOS, Debian, OS X, Solaris
Posts: 2,288
Thanks Given: 430
Thanked 480 Times in 395 Posts
Hi.
If you are comfortable downloading programs, p7zip may be of interest to you. In almost all *nix systems you can have local programs -- in your HOME directory structure -- you do not need to install them in system areas.
Here's an example of creation of a zip file and extraction with p7zip (for me, p7zip was in my Debian repository):
producing:
See the sourceforge URL noted in the script. Best wishes ... cheers, drl
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)
Hi ALL,
Am working with the gunzip command to zip all the old files having 10 days
am using the command
find . -name '*.log' -type f -mtime +10 -exec gunzip {} \;
am facing two issues
1.)it displays the files which are all older than a year
2.)when am trying to gunzip all the... (2 Replies)
hi
On one of our SCO 5.0.6 server gunzip doesn't work and I'm getting this error message:
# gunzip
dynamic linker: gunzip: symbol not found: ___requires_updated_system_library_se_
Killed
What's missing? (0 Replies)
Hello Everyone,
I have a few files in a directory such as :
abc.xyz.txt1.gz
abc.xyz.txt2.gz
....
....
...
...
abd.xyz.txt100.gz
And I want uncompressed files such as:
abc.xyz.txt1
abc.xyz.txt2
....
...
.....
.... (1 Reply)
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)
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)
Hi All,
I am a newbie to unix and need help.
I am trying to unzip the files in source library to destination library.
the input filename can be any thing with abc and after unzip, i want the same file name with original extension
suppose,the input file is ABC_jun25.dat.gz after gunzip in the... (1 Reply)
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)
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)
Hi...........
i have downloaded...sunscreen3.1 lite frm sunfreeware .com and it is in tar.gz format..so i download gzip also...
now pls tell me how to install gzip and how to unzip tht sunscreen tar.gz file..............after unzipping i have to untar the tar file or not.....pls tell me in... (2 Replies)