Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

How many prompts are available in a UNIX system?

Answer Posted / oliver

2. the environment variables PS1 and PS2 refer to the
standard and alternative prompt.
The alternative prompt, it the prompt showed on subsequent
lines.


Small example below:

export PS1='>'
>export PS2='_>'
>
>
>echo \
_>hello
hello
>

Is This Answer Correct ?    3 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is shell and shell script?

1061


What does chmod do?

1068


one folder contains lot of students name but I want to fetch hello with every student name individually using shell script

909


Explain about the slow execution speed of shells?

1160


How can any user find out all information about a specific user like his default shell, real-life name, default directory, when and how long he has been using the system?

1054


What are the zombie processes?

918


What is the syntax of "nested if statement" in shell scripting?

1039


c program the catches the ctrl-c(SIGINT) Signal for the first time and prints a output rather and exit on pressing Ctrl-C again

6321


How does path variable work?

905


Is shell scripting easy to learn?

960


Given a file find the count of lines containing the word "abc".

1491


What is the significance of the shebang line in shell scripting?

1043


What are the 3 standard streams in linux?

1050


What is a shell in operating system?

1034


How do I start a shell script?

1124