[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 352
  • Last Modified:

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

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
bemara57
Asked:
bemara57
2 Solutions
 
TintinCommented:
In your .profile, add

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

0
 
tfewsterCommented:
Or
ln -s /sw6/samba/usr/local/bin/gzip /usr/bin/gzip
0

Featured Post

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now