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

Explain about echo command?

0 Answers  


How to enable the shell to know what program should be run to interpret the script?

3 Answers  


What is a shell script? Can you name some of its advantages?

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  


write a shell script to find the largest number from 3 given numbers.

6 Answers  


How does ls command work?

0 Answers  


write a program to display all the files from the current directory which are created in particular month

6 Answers  


What are the different shells available?

3 Answers  


What is scripting autism?

0 Answers  


How to create environment variables?What are the conditions for creating variables?

1 Answers   Infosys, Wipro,


What is the use of "shift" command in passing parameters?

1 Answers  


What are the different communication commands available in the shell?

0 Answers  


Categories