Series: Subject: Topic:
Question: 175 of 183

How many prompts are available in a UNIX system?

Two prompts, PS1 (Primary Prompt), PS2 (Secondary Prompt).
Asked by: Interview Candidate | Asked on: Mar 6th, 2005
Showing Answers 1 - 3 of 3 Answers
Vijay Valli Prasanna Roy

Answered On : Apr 19th, 2006

Unix/ Linux Supports four Prompts PS1, PS2, PS3, PS4

Login to rate this answer.

Answered On : Nov 12th, 2006

View all answers by kcube

PS1 Prompt used as the normal system promptPS2 Prompt used when the shell expects more inputPS3 Prompt used when you have root authority

Login to rate this answer.
Linux User

Answered On : Oct 29th, 2007

Bash supports 4 prompts:PS1 - the default promptPS2 - for multi-line inputPS3 - printed for the select commandPS4 - printed before output if set -x is set(see http:// www . gnu . org/software/bash/manual/bashref . html )The first two are common to the Bourne shell (and ksh).  The last two are only for Bash.csh, however, uses a completely different system.  Set the "prompt" variable.

Yes  1 User has rated as useful.
Login to rate this answer.

Give your answer:

If you think the above answer is not correct, Please select a reason and add your answer below.

Related Open Questions



twitter fb Linkedin GPlus RSS


Interview Question

 Ask Interview Question?


Latest Questions

Interview & Career Tips

Get invaluable Interview and Career Tips delivered directly to your inbox. Get your news alert set up today, Once you confirm your Email subscription, you will be able to download Job Inteview Questions Ebook . Please contact me if you there is any issue with the download.