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
What is shell and shell script?
What does chmod do?
one folder contains lot of students name but I want to fetch hello with every student name individually using shell script
Explain about the slow execution speed of shells?
How can any user find out all information about a specific user like his default shell, real-life name, default directory, when and how long he has been using the system?
What are the zombie processes?
What is the syntax of "nested if statement" in shell scripting?
c program the catches the ctrl-c(SIGINT) Signal for the first time and prints a output rather and exit on pressing Ctrl-C again
How does path variable work?
Is shell scripting easy to learn?
Given a file find the count of lines containing the word "abc".
What is the significance of the shebang line in shell scripting?
What are the 3 standard streams in linux?
What is a shell in operating system?
How do I start a shell script?