Sponsored Content
Operating Systems AIX How-to: copying gzip on other servers Post 302328862 by garethr on Thursday 25th of June 2009 10:38:16 AM
Old 06-25-2009
My AIX 4.3 system shows it as being in the: freeware.gnu.gzip.rte package:

# lslpp -w /usr/local/bin/gzip
File Fileset Type
----------------------------------------------------------------------------
/usr/local/bin/gzip
freeware.gnu.gzip.rte File

The list of files should give you an idea of what needs to be copied:

# lslpp -f freeware.gnu.gzip.rte
Fileset File
----------------------------------------------------------------------------
Path: /usr/lib/objrepos
freeware.gnu.gzip.rte 1.2.4.1
/usr/local/lib/gzip-1.2.4/README
/usr/local/bin/zdiff
/usr/local/info/gzip.info
/usr/local/man/man1/zdiff.1
/usr/local/lib/gzip-1.2.4/algorithm.doc
/usr/local/lib/gzip-1.2.4/TODO
/usr/local/bin/zforce
/usr/local/lib/gzip-1.2.4/sample/makecrc.c
/usr/local/man/man1/zcmp.1 -> /usr/local/man/man1/zdiff.1
/usr/local/lib/gzip-1.2.4/sample
/usr/local/man/man1/gunzip.1 -> /usr/local/man/man1/gzip.1
/usr/local/lib/gzip-1.2.4/COPYING
/usr/local/lib/gzip-1.2.4/THANKS
/usr/local
/usr/local/bin/zcat -> /usr/local/bin/gzip
/usr/local/lib
/usr/local/lib/gzip-1.2.4/sample/ztouch
/usr/local/man/man1
/usr/local/lib/gzip-1.2.4/INSTALL
/usr/local/bin/gunzip -> /usr/local/bin/gzip
/usr/local/man/man1/zforce.1
/usr/local/lib/gzip-1.2.4/sample/sub.c
/usr/local/man/man1/zgrep.1
/usr/local/lib/gzip-1.2.4
/usr/local/bin/gzip
/usr/local/bin/zcmp -> /usr/local/bin/zdiff
/usr/local/bin/znew
/usr/local/man/man1/znew.1
/usr/local/lib/gzip-1.2.4/sample/add.c
/usr/local/man/man1/zmore.1
/usr/local/bin/zmore
/usr/local/lib/gzip-1.2.4/NEWS
/usr/local/man/man1/gzexe.1
/usr/local/bin
/usr/local/man
/usr/local/bin/gzexe
/usr/local/lib/gzip-1.2.4/sample/zread.c
/usr/local/bin/zgrep
/usr/local/info
/usr/local/man/man1/gzip.1
/usr/local/lib/gzip-1.2.4/sample/zfile
/usr/local/man/man1/zcat.1 -> /usr/local/man/man1/gzip.1


If that isn't enough, perhaps the IBM gzip RPM (for AIX 5.2) might run:
IBM AIX Toolbox download information
 

10 More Discussions You Might Find Interesting

1. UNIX for Advanced & Expert Users

using gzip

Hi, I am trying to unzip a file that I unmounted onto a unix machine from a cd I had burned in a Windows machine. The file I am trying to unzip is a .tar file... it was originally a .tar.gz file because it was zipped using gzip. I have tried: % gzip -d hpux.tar (where hpux.tar is the file... (2 Replies)
Discussion started by: nattie_h
2 Replies

2. SCO

gzip

ciao a tutti, premesso che sono un principiante di unix, avrei bisogno di gzip/gunzip e SOPRATTUTTO delle istruzioni (ahimè dettagliatissime, come per un bimbo!) per installarlo... grazie mille, ciao (1 Reply)
Discussion started by: mfran2002
1 Replies

3. Shell Programming and Scripting

gzip

Hi, I want to gzip files in loop. for i in `ls *.xml`; do gzip $i; done But i am gettin error like "/usr/bin/ls: Arg list too long" Also please tell me how to do it with while loop and also using find and then exec. (7 Replies)
Discussion started by: tushar_tus
7 Replies

4. UNIX for Dummies Questions & Answers

Copying files from unix servers to other locations e.g. C directory

Hi, I am just wondering is it possible to move or copy a file from a UNIX server to a different location e.g. the C drive on a computer? I have used the cp command to move files to different locations on unix servers but it would be handy to move a file to my C drive. I am currently... (3 Replies)
Discussion started by: crunchie
3 Replies

5. UNIX for Advanced & Expert Users

gzip vs pipe gzip: produce different file size

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)
Discussion started by: hanfresco
1 Replies

6. UNIX for Advanced & Expert Users

How to gzip files "on fly" before copying

Hello, I want to gzip some files before copying to remote host. There is no freespace on source host so it needs to be perfomed within one-liner. I tried the following but it didn't work gzip -c -9 all_rvds.xml |ssh targethost "dd of=/tmp/all_rvds.xml.gz" cat all_rvds.xml |gzip -c9 |ssh... (5 Replies)
Discussion started by: urello
5 Replies

7. AIX

Copying files between two servers

Hi, I have a 60 GB file (tar file) in server1 and I have mounted server2 (using nfs mount) on server1 and then I am copying the file from server1 to server2. Even after 6 hours, the file copying is still not completed. It has just copied 20 GB of file so far. Please help me identify this... (3 Replies)
Discussion started by: qAnand
3 Replies

8. Shell Programming and Scripting

Gzip

if ;then echo "mrnet greater 5000" gzip /var/log/mrnet.log /var/log/mrnet.log.1.gz fi i'm looking if mrnet.log is bigger then 5000 then compress mrnet.log to mrnet.log.1.gz but it won't compress. (3 Replies)
Discussion started by: Froob
3 Replies

9. UNIX for Dummies Questions & Answers

Help with Copying files between two remote servers

Hi All, Please help me for a shell. I am a New to unix I am trying to DB dump file from one server and copying it to another server. From My Local ServerA connecting to remote ServerB using ssh and taking dump of a instance. That Dump file i need to copy to ServerC. I am able to connect... (6 Replies)
Discussion started by: maddyd2k
6 Replies

10. Shell Programming and Scripting

Shell script for connecting multiple servers and then copying 30 days old files

Shell script for connecting multiple servers and then copying 30 days old files from those server . HI , I have 6 multiple servers pla1,pla2,pla3,pla4,pla5,pla6 1. These six servers have common shared mount point /var/share 2. Running script from /var/share to connect these servers.I... (1 Reply)
Discussion started by: rcroyal88
1 Replies
GZEXE(1)						      General Commands Manual							  GZEXE(1)

NAME
gzexe - compress executable files in place SYNOPSIS
gzexe name ... DESCRIPTION
The gzexe utility allows you to compress executables in place and have them automatically uncompress and execute when you run them (at a penalty in performance). For example if you execute ``gzexe /usr/bin/gdb'' it will create the following two files: -rwxr-xr-x 1 root root 1026675 Jun 7 13:53 /usr/bin/gdb -rwxr-xr-x 1 root root 2304524 May 30 13:02 /usr/bin/gdb~ /usr/bin/gdb~ is the original file and /usr/bin/gdb is the self-uncompressing executable file. You can remove /usr/bin/gdb~ once you are sure that /usr/bin/gdb works properly. This utility is most useful on systems with very small disks. OPTIONS
-d Decompress the given executables instead of compressing them. SEE ALSO
gzip(1), znew(1), zmore(1), zcmp(1), zforce(1) CAVEATS
The compressed executable is a shell script. This may create some security holes. In particular, the compressed executable relies on the PATH environment variable to find gzip and some standard utilities (basename, chmod, ln, mkdir, mktemp, rm, sleep, and tail). BUGS
gzexe attempts to retain the original file attributes on the compressed executable, but you may have to fix them manually in some cases, using chmod or chown. GZEXE(1)
All times are GMT -4. The time now is 08:46 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy