Categories
Company
Local Language
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- This widget could not be displayed.This widget could not be displayed.This widget could not be displayed.This widget could not be displayed.This widget could not be displayed.This widget could not be displayed.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-08-2007 01:33 AM
06-08-2007 01:33 AM
> prompt
I want to know what i have to do when logon in a standard hpux installation server and i'm greeted with the prompt >
Thank's
hj
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-08-2007 01:36 AM
06-08-2007 01:36 AM
Re: > prompt
check echo $PS1 for the primary prompt
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-08-2007 01:49 AM
06-08-2007 01:49 AM
Re: > prompt
Check the $PS1 setting in ~/.profile.
PCS
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-08-2007 03:14 AM
06-08-2007 03:14 AM
Re: > prompt
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-08-2007 06:25 AM
06-08-2007 06:25 AM
Re: > prompt
Well, that depends - why did you logon in the first place? :)
You have been greeted with the prompt - and now the system is waiting for you to enter a command.
Rgds...Geoff
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-08-2007 02:20 PM
06-08-2007 02:20 PM
Re: > prompt
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-08-2007 03:00 PM
06-08-2007 03:00 PM
Re: > prompt
1. How do I create a prompt string that uses >
or
2. I have a > on my screen, what do I do?
For question number 1, you can assign the variable PS1 the string you'd like to use, something like this:
PS1="> "
For question number 2, this means that someone has made a mistake in /etc/profile, or perhaps your local .profile script. The mistake is likely a missing " or ' mark in one of the statements. It is called the secondary prompt and is provided by the shell indicating that something more is required. In this context, it is a mistake.
Bill Hassell, sysadmin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-08-2007 03:04 PM
06-08-2007 03:04 PM
Re: > prompt
$ echo '
>