Solved

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

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

6 Surprising Benefits of Threat Intelligence

All sorts of threat intelligence is available on the web. Intelligence you can learn from, and use to anticipate and prepare for future attacks.

Join & Write a Comment

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…
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 …
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.
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.

758 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

Need Help in Real-Time?

Connect with top rated Experts

24 Experts available now in Live!

Get 1:1 Help Now