Solved

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

Posted on 2006-11-27
4
333 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

Gigs: Get Your Project Delivered by an Expert

Select from freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely and get projects done right.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
AIX    Volume group Auto ON/OFF question 2 99
text in table need to be center of the box 4 78
MarkLogic 1 79
unix example issues 18 89
A metadevice consists of one or more devices (slices). It can be expanded by adding slices. Then, it can be grown to fill a larger space while the file system is in use. However, not all UNIX file systems (UFS) can be expanded this way. The conca…
This tech tip describes how to install the Solaris Operating System from a tape backup that was created using the Solaris flash archive utility. I have used this procedure on the Solaris 8 and 9 OS, and it shoudl also work well on the Solaris 10 rel…
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:
In a previous video, we went over how to export a DynamoDB table into Amazon S3.  In this video, we show how to load the export from S3 into a DynamoDB table.

776 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