[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: compress command



Let's say you want to use the gzip command on the RedHat system.  Do:

"which gzip"

This will give you the path to the gzip binary. Match this path against the path in your script, and make sure they are the same. If not, change the script to match. If the return from the which command is something like:

no gzip found in /usr/sbin/ ......................

then the program is not installed.

Yamina Lassal wrote:

Hi,

I want to migrate scripts Sco Open server 5.05 to Red Hat ELES4.
I try to use a compress command in one script but it doesn't found it
and I can list a man page of it.
What's the problem?


Yamina

----------------------------------------------------------------------------
                       AVERTISSEMENT
Les renseignements contenus dans le present courriel sont confidentiels et reserves a l'usage de la personne ou de l'entite a laquelle il est adresse. Si ce courriel ne vous est pas destine, nous vous avisons que sa diffusion et/ou la divulgation de son contenu, par quelque moyen que ce soit, est strictement prohibee. Si vous avez recu ce courriel par erreur nous vous remercions de bien vouloir le supprimer et nous en aviser immediatement.



--
veritatis simplex oratio est
		- Seneca

Andrew Bacchi
Staff Systems Programmer
Rensselaer Polytechnic Institute
phone: 518 276-6415  fax: 518 276-2809

http://www.rpi.edu/~bacchi/




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]