- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Prompt display
Operating System - HP-UX
1748182
Members
3524
Online
108759
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
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
тАО01-25-2009 11:16 AM
тАО01-25-2009 11:16 AM
Prompt display
Hi,
I am so new on HP-UX. After I created a user,
I logged in by the new user. Now I want to change the prompt "$" to this figure "hostname:/$". But I couldn't do it.
I couldn't find a command and find the new user's ".profile" file though searching forums.
Can anybody help me.
If somebody show step by step this how to be done, it would be so good because I am not good at Unix.
Thanks,
Ali Kemal.
I am so new on HP-UX. After I created a user,
I logged in by the new user. Now I want to change the prompt "$" to this figure "hostname:/$". But I couldn't do it.
I couldn't find a command and find the new user's ".profile" file though searching forums.
Can anybody help me.
If somebody show step by step this how to be done, it would be so good because I am not good at Unix.
Thanks,
Ali Kemal.
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-25-2009 12:17 PM
тАО01-25-2009 12:17 PM
Re: Prompt display
Hi Ali,
Add these lines to your user $HOME\.profile
PS1=$(hostname):\$PWD" $ "
export PS1
Regards,
Robert-Jan
Add these lines to your user $HOME\.profile
PS1=$(hostname):\$PWD" $ "
export PS1
Regards,
Robert-Jan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-31-2009 03:20 AM
тАО01-31-2009 03:20 AM
Re: Prompt display
Hi,
There is .dtprofile if .dtprofile is not available.
$ls -all
Regards,
Gokul Chandola
There is .dtprofile if .dtprofile is not available.
$ls -all
Regards,
Gokul Chandola
There is always some scope for improvment.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-01-2009 01:21 PM
тАО02-01-2009 01:21 PM
Re: Prompt display
you can simply add the following line in that user's .profile file
export PS1="`hostname`:/$"
and as suggested ypu can do ls -a to see .profile file or just type vi .profile
export PS1="`hostname`:/$"
and as suggested ypu can do ls -a to see .profile file or just type vi .profile
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