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 |
Explain about echo command?
How to enable the shell to know what program should be run to interpret the script?
What is a shell script? Can you name some of its advantages?
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
write a shell script to find the largest number from 3 given numbers.
How does ls command work?
write a program to display all the files from the current directory which are created in particular month
What are the different shells available?
What is scripting autism?
How to create environment variables?What are the conditions for creating variables?
What is the use of "shift" command in passing parameters?
What are the different communication commands available in the shell?