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

Where is bash history?

902


Explain about return code?

1057


What is shell geeksforgeeks?

1088


What is another name for a bash shell script that you might see?

1462


What is shift command in shell script?

1009


What is bash coding?

909


Suppose you execute a command using exec, what will be the status of your current process in the shell?

1052


What are "c" and "b" permission fields of a file?

1009


What is @echo off?

985


How do I run a .sh file?

1000


What language is shell scripting?

1009


What does egrep mean?

952


How will you copy a file from one machine to other?

981


What is shell variable?

903


What is bash shell command?

992