Solved

GZip is installed, but how do I make gzip work from the shell command line??

Posted on 2006-11-27
4
334 Views
Last Modified: 2010-04-21
I have GZip installed and have to use /sw6/samba/usr/local/bin/gzip to unzip files. But how to I make it so that I can just type gzip on the command line and it works? I remember hearing something about environment variables? As of now, when I just type gzip from the shell command, it says "ksh: gzip: not found". Pls help.. Thanks in advance for all the help.
0
Comment
Question by:bemara57
4 Comments
 
LVL 48

Accepted Solution

by:
Tintin earned 250 total points
ID: 18021104
In your .profile, add

export PATH=$PATH:/sw6/samba/usr/local/bin

0
 
LVL 20

Assisted Solution

by:tfewster
tfewster earned 250 total points
ID: 18022252
Or
ln -s /sw6/samba/usr/local/bin/gzip /usr/bin/gzip
0

Featured Post

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

My previous tech tip, Installing the Solaris OS From the Flash Archive On a Tape (http://www.experts-exchange.com/articles/OS/Unix/Solaris/Installing-the-Solaris-OS-From-the-Flash-Archive-on-a-Tape.html), discussed installing the Solaris Operating S…
Using libpcap/Jpcap to capture and send packets on Solaris version (10/11) Library used: 1.      Libpcap (http://www.tcpdump.org) Version 1.2 2.      Jpcap(http://netresearch.ics.uci.edu/kfujii/Jpcap/doc/index.html) Version 0.6 Prerequisite: 1.      GCC …
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…
This video shows how to set up a shell script to accept a positional parameter when called, pass that to a SQL script, accept the output from the statement back and then manipulate it in the Shell.

809 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question