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?



How many prompts are available in a UNIX system? ..

Answer / 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

More Shell Script Interview Questions

How to include comments in your shell scripts?

3 Answers  


How to pass an argument to a script?

0 Answers  


What is difference between bash and shell?

0 Answers  


Create a bash shell script that removes all files whose names end with a "~" from your home directory and subdirectories. Name this script "cleanup.sh"

6 Answers  


What is awk in shell scripting?

0 Answers  


write a shell script that accepts name from user and creates a directory by the path name, then creates a text file in that directory and stores in it, the data accepted from user till STOP, displays the no. of characters stored in the file.Program stops if directory name is null

1 Answers  


What is the syntax of "grep" command?

4 Answers  


What are types of shells?

0 Answers  


What is the use of break command?

0 Answers  


1.Write a script, which converts a number from binary to hexadecimal format or vice versa.

1 Answers   ADP,


what is the difference between writing code in shell and editor?

1 Answers  


How can the contents of a file inside jar be read without extracting in a shell script?

0 Answers  


Categories