- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: update environment variables for all users
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-14-2002 10:20 AM
06-14-2002 10:20 AM
update environment variables for all users
The nano editor has just installed to our HPUX 10.20 machine. How can
the path be modified so that ALL users can simply type "nano" to
start the program without knowing the file locatation of nano?
The nano editor has been installed to /opt/nano/bin/nano.
Precompiled nano editor binary for HPUX 10.20 ...
http://hpux.cs.utah.edu/hppd/hpux/Editors/nano-1.1.6/
I am new to installing software on UNIX. Where can a tutorial about
configuring startup enviroment variables be found on the Internet?
For example: PATH and MANPATH.
Any advise, tips, comments or suggestions are welcome. Please advise.
Thank you
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-14-2002 10:21 AM
06-14-2002 10:21 AM
Re: update environment variables for all users
alias nano=/opt/nano/bin/nano
Then a user only needs to enter
nano filename
to run nano
-- Rod Hills
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-14-2002 10:23 AM
06-14-2002 10:23 AM
Re: update environment variables for all users
Pete
Pete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-14-2002 10:24 AM
06-14-2002 10:24 AM
Re: update environment variables for all users
ln -s /opt/nano/bin/nano /usr/bin/nano
or modify all of the profiles you might have on the system.
Or modify /etc/profile
live free or die
harry
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-14-2002 10:26 AM
06-14-2002 10:26 AM
Re: update environment variables for all users
Also add :/opt/nano/man to /etc/MANPATH.
These files should be used in /etc/profile in a way like PATH=/mypathes:$(/etc/PATH)
Thanks, Klaus
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-14-2002 10:33 AM
06-14-2002 10:33 AM
Re: update environment variables for all users
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-14-2002 10:46 AM
06-14-2002 10:46 AM
Re: update environment variables for all users
Ameet
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-14-2002 06:58 PM
06-14-2002 06:58 PM
Re: update environment variables for all users
http://docs.hp.com
However, you will need a broader view of HP-UX system administration to be successful. I would suggest looking at Marty Poniatoski's books on HP-UX. Go to Amazon or Barnes&Noble and search for HP-UX.
Bill Hassell, sysadmin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-14-2002 11:17 PM
06-14-2002 11:17 PM
Re: update environment variables for all users
you can use /etc/profile
PATH=$PATH:/opt/nano/bin
For csh
set path=($path /opt/nano/bin)
for MANPATH
MANPATH=$MANPATH:/opt/nano/man
Also you can set the path in
/etc/PATH or /etc/MANPATH
THanks