?
Solved

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

Posted on 2006-11-27
4
Medium Priority
?
341 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
4 Comments
 
LVL 48

Accepted Solution

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

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

0
 
LVL 21

Assisted Solution

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

Featured Post

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

Question has a verified solution.

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

In tuning file systems on the Solaris Operating System, changing some parameters of a file system usually destroys the data on it. For instance, changing the cache segment block size in the volume of a T3 requires that you delete the existing volu…
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…
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…
Suggested Courses
Course of the Month10 days, 19 hours left to enroll

770 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