1832786 Members
3690 Online
110045 Solutions
New Discussion

Adding Path

 
SOLVED
Go to solution
Rahul Pednekar
Frequent Advisor

Adding Path

Hi All

I want to add a path to the env. tell me exact command how to add it. the path i want to add is /usr/bin/unzip to PATH and export it.
Also i want to download unzip ver 5.5 for hp-ux v11.23. please tell me the link to download and how do i install it?

thanks
Rahul
7 REPLIES 7
Muthukumar_5
Honored Contributor

Re: Adding Path

You can add a path permanetly as,

go to /etc/profile,

in last line,

export PATH=$PATH:

I hope /usr/bin directory is added by default with /etc/PATH file. So need to add it.

--
Muthu

Easy to suggest when don't know about the problem!
Muthukumar_5
Honored Contributor

Re: Adding Path

You get unzip utility as,

http://hpux.connect.org.uk/hppd/hpux/Misc/unzip-5.52/

Download based on your operating system.

Install as,

# swinstall -s

It will install it.

--
Muthu
Easy to suggest when don't know about the problem!
Arunvijai_4
Honored Contributor
Solution

Re: Adding Path

Hello,

Its easy, you can download unzip depot from

http://hpux.connect.org.uk/ftp/hpux/Misc/unzip-5.52/unzip-5.52-ia64-11.23.depot.gz

# swinstall -s /tmp/unzip-5.52-ia64-11.23.depot unzip will do the installtion. ( Say, you have downloaded the depot into /tmp)

-Arun
"A ship in the harbor is safe, but that is not what ships are built for"
Arunvijai_4
Honored Contributor

Re: Adding Path

Hi Rahul,

To add path # export PATH=$PATH:/usr/local/bin

You can also unzip with jar utility.

# /opt/java1.4/bin/jar -xvf

-Arun
"A ship in the harbor is safe, but that is not what ships are built for"
Arturo Galbiati
Esteemed Contributor

Re: Adding Path

Hi Rhul,

To add path:
export PATH=$PATH:

You can also unzip with jar utility.
# $JAVE_HOME/bin/jar -xvf

HTH,
Art
Sivakumar TS
Honored Contributor

Re: Adding Path

Hi Rahul,

If you need the PATH variable presnet across reboots, you may add the line to .profile.

With Regards,

Siva.
Nothing is Impossible !
Rahul Pednekar
Frequent Advisor

Re: Adding Path

HI,

Thanks guyz!

Regards
Rahul...