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

What are the different communication commands available in the shell?

0 Answers  


What is echo $shell?

0 Answers  


What are the different methods available to run a shell script?

2 Answers  


How to know that your remote server is ruing smoothly or not in unix?

1 Answers  


I Forgot My Windows Vista Password! How Can I Find My Windows Lost Password?

1 Answers  


What are the default permissions of a file when it is created?

0 Answers  


how to separate the even and odd number generated from one file to two separate file i.e. even numbers in file1.txt and odd numbers in file2.txt

4 Answers   Infosys,


What does $$ mean in shell script?

0 Answers  


How to write a function?

0 Answers  


How to get script name inside a script?

0 Answers  


Write a shell script that adds two numbers if provided as the command line argument and if the two numbers are not entered throws an error message.

0 Answers  


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

0 Answers  


Categories