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 terminal?
What is the difference between break and continue commands?
What is scripting used for?
what is info area how many types?
Suppose you execute a command using exec, what will be the status of your current process in the shell?
How to get the first line from a file using just the terminal?
How do I read a .sh file?
Is bash an operating system?
Is shell scripting a language?
I want to connect to a remote server and execute some commands, how can I achieve this?
c program to display the information of given file similar to givan by the unix or linux command ls -l
Please give me example of " at command , contrab command " how to use
What is shell geeksforgeeks?
How to set an array in linux?
What is the use of echo in shell script?