- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- path export and terminal
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
02-28-2002 09:04 PM
02-28-2002 09:04 PM
path export and terminal
I know this has been discussed a lot already, but I just don't seem to get this.
I installed the gnome destop recently and gcc. Now when I want to compile something from a terminal window, I have to either set the PATH or type it out completely i.e. /opt/gcc/bin/gcc ..
I've tried editing my .profile, the /etc/profile and /etc/PATH with no success.
Like I said, I know this has been covered a lot, but would one of you mind doing it one more time.. and in DETAIL .. for the slow ones like myself. Thanks, Bruce
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-28-2002 09:08 PM
02-28-2002 09:08 PM
Re: path export and terminal
Have you updated .dtprofile?
Hope this helps. Regards.
Steven Sim Kok Leong
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-28-2002 09:13 PM
02-28-2002 09:13 PM
Re: path export and terminal
Do you think it will work with the gnome desktop?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-28-2002 09:16 PM
02-28-2002 09:16 PM
Re: path export and terminal
Open the .dtprofile in $HOME after you login and uncomment the last line in that file which is :
DTSOURCEPROFILE=true. Exit the session and login again. It works.
If it still does not work, try . $HOME/.profile
Hope this helps,
Raghu.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-28-2002 09:27 PM
02-28-2002 09:27 PM
Re: path export and terminal
I've don't the /home/bruce/.dtprofile, /home/bruce/.profile and /etc/PATH
What could I be missing?
Do any of you have samples of your files? Maybe mine are wrong.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-28-2002 09:33 PM
02-28-2002 09:33 PM
Re: path export and terminal
Put this in your $HOME/.dtprofile:
DTSOURCEPROFILE=true
PATH=$PATH:/opt/gcc/bin
export PATH
Hope this helps. Regards.
Steven Sim Kok Leong
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-28-2002 09:40 PM
02-28-2002 09:40 PM
Re: path export and terminal
It will list all the PATH setting defined in profiles files including .dtporfile ,$HOME/.profile and /etc/profile.
By seeing the output of above command ,we can decide where all to change the path.
Note one more thing that if you are using csh (c shell) then you have to edit the files /etc/csh.login , $HOME/.cshrc and $HOME/.login files as cshell will not mind profile file.
In these files also we can see the path set like,
set path = ($path)
or
set path = (/usr/bin /usr/contrib/bin)
Hope this helps you.
-K.Vijay.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-01-2002 05:23 PM
03-01-2002 05:23 PM
Re: path export and terminal
/etc/skel/.profile
/etc/profile
/usr/newconfig/etc/skel/.profile
/usr/newconfig/etc/profile
/usr/newconfig/.profile
/usr/dt/config/sys.dtprofile
/opt/gnome/share/abisource/AbiWord/system.profile
/opt/gnome/share/gnome-print/0.25/profiles/PostscriptOptimized.profile
/opt/gnome/share/gnome-print/0.25/profiles/pdf.profile
/.dtprofile
/home/bruce/.profile
/home/bruce/.dtprofile
/home/lauri/.profile
/home/.dtprofile
/.profile
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-02-2002 08:51 AM
03-02-2002 08:51 AM
Re: path export and terminal
I've given up on it for now. It's easy enough for me to type type the full path. Some afternoon I'll try again.
It's the simple things that drive me crazy sometimes.