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 |
How to include comments in your shell scripts?
How to pass an argument to a script?
What is difference between bash and shell?
Create a bash shell script that removes all files whose names end with a "~" from your home directory and subdirectories. Name this script "cleanup.sh"
What is awk in shell scripting?
write a shell script that accepts name from user and creates a directory by the path name, then creates a text file in that directory and stores in it, the data accepted from user till STOP, displays the no. of characters stored in the file.Program stops if directory name is null
What is the syntax of "grep" command?
What are types of shells?
What is the use of break command?
1.Write a script, which converts a number from binary to hexadecimal format or vice versa.
what is the difference between writing code in shell and editor?
How can the contents of a file inside jar be read without extracting in a shell script?