- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- .profile problems
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
10-16-2001 11:41 AM
10-16-2001 11:41 AM
set -u # error if undefined variable.
trap "echo 'logoutroot'" # what to do on exit.
PS1=$LOGNAME@`hostname`:'$PWD'">"
SHELL=/bin/ksh
EDITOR=vi
export PS1 SHELL EDITOR
However, everytime i open up a terminal window, i am back to the # prompt. I have to keep running . /.profile to get
"user@hostname"
Why is this and what can i do to fix..?
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-16-2001 11:48 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-16-2001 11:49 AM
10-16-2001 11:49 AM
Re: .profile problems
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-16-2001 11:52 AM
10-16-2001 11:52 AM
Re: .profile problems
it is a software app the fully emulates a graphical environment. I hope you know what i mean, but it is basically like you are sitting at the console with a graphics card installed. it uses the full CDE, but connects thru telnet i would guess.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-16-2001 11:52 AM
10-16-2001 11:52 AM
Re: .profile problems
If so make sure you have these things.
Logout of the CDE and do a telnet to the system.
1. Create a file called .Xdefaults in the home directory and place this entry.
dtterm*loginShell: True
2. Edit .dtprofile in the home directory and make sure you have the entry
DTSOURCEPROFILE=true
Login to CDE and verify
-Sri
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-16-2001 12:02 PM
10-16-2001 12:02 PM
Re: .profile problems
I just checked with a ReflectionX login and this works for me:
PS1=`hostname`"@"'${PWD}'"> "
export PS1
to produce cstephen@prissy>
with DTSOURCEPROFILE=true