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 |
What are the different communication commands available in the shell?
What is echo $shell?
What are the different methods available to run a shell script?
How to know that your remote server is ruing smoothly or not in unix?
I Forgot My Windows Vista Password! How Can I Find My Windows Lost Password?
What are the default permissions of a file when it is created?
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
What does $$ mean in shell script?
How to write a function?
How to get script name inside a script?
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.
What is the syntax of "nested if statement" in shell scripting?