- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - Linux
- >
- Re: adding PATH
Operating System - Linux
1753599
Members
6596
Online
108796
Solutions
Forums
Categories
Company
Local Language
юдл
back
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Forums
Forums
Discussions
юдл
back
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
Discussion Boards
Discussion Boards
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Go to solution
Topic Options
- 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
тАО09-08-2005 06:06 AM
тАО09-08-2005 06:06 AM
Hi,
I am new to linux/unix environment. I have couple of softwares installed in
home/opt/SOFTWARE folder
I need to include the search path so that I don't need to go the above directory to start the application
i see PATH varialbe but I don't know how to modify to include the above path
Thanks in advance
Nipun
I am new to linux/unix environment. I have couple of softwares installed in
home/opt/SOFTWARE folder
I need to include the search path so that I don't need to go the above directory to start the application
i see PATH varialbe but I don't know how to modify to include the above path
Thanks in advance
Nipun
Solved! Go to Solution.
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-08-2005 06:53 AM
тАО09-08-2005 06:53 AM
Solution
If you want to do it for your user only, edit the .bash_profile file, for all users, edit the /etc/profile.
Add a line like this:
PATH=$PATH:/path/to/SOFTWARE
Where /path/to/SOFTWARE is the full path to the directory you want to add, I don't know if your posted path is right, but if it is, then should be:
PATH=$PATH:/home/opt/SOFTWARE
Add a line like this:
PATH=$PATH:/path/to/SOFTWARE
Where /path/to/SOFTWARE is the full path to the directory you want to add, I don't know if your posted path is right, but if it is, then should be:
PATH=$PATH:/home/opt/SOFTWARE
Por que hacerlo dificil si es posible hacerlo facil? - Why do it the hard way, when you can do it the easy way?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-06-2005 02:48 AM
тАО10-06-2005 02:48 AM
Re: adding PATH
Hi Ivan,
Thanks for the reply.
My path is
/opt/mathematica/bin/"exectuables"
so I edited the .bash_profile as follows
PATH = $PATH:/opt/mathematica/bin/
export PATH
however when I login to the system and type the name of the executables - math or mathematica or Mathematica it always gives "command not found"
I also give echo $PATH but it does not show the above changes
Thanks for the reply.
My path is
/opt/mathematica/bin/"exectuables"
so I edited the .bash_profile as follows
PATH = $PATH:/opt/mathematica/bin/
export PATH
however when I login to the system and type the name of the executables - math or mathematica or Mathematica it always gives "command not found"
I also give echo $PATH but it does not show the above changes
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-06-2005 08:21 AM
тАО10-06-2005 08:21 AM
Re: adding PATH
I had a problem with a script line before the PATH variable. When I removed that line I was able to modify the PATH variable
Thanks for your help
Nipun
Thanks for your help
Nipun
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
News and Events
Support
© Copyright 2024 Hewlett Packard Enterprise Development LP