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 are scripts in psychology?
How can we find the process name from its process id?
Suppose you execute a command using exec, what will be the status of your current process in the shell?
What happens when you type ls?
What will happen to my current process when I execute a command using exec?
What are "c" and "b" permission fields of a file?
What are the different commands available to check the disk usage?
Write a command sequence to find the count of each word?
What is the equivalent of a file shortcut that we have a window on a linux system?
What is a program shell?
How can the contents of a file inside jar be read without extracting in a shell script?
What is the first line in a shell script?
What is in a script?
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 types of shells?