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 |
c program to check whether all the directories in the path exists has read and write permission
What is computer cli?
How to print all the arguments provided to the script?
Determine the output of the following command: name=shubham && echo ‘my name is $name’.
Set up a Sev 2 alert when the Primary WA service fails. A windows batch script needs to be created that will monitor the WA service on the Primary and when the service stops/fails a Sev 2 TT is generated for a particular team ?
Calculate a real number calculation directly from the terminal and not any shell script.
How do we create command aliases in a shell?
write a non recursive shell script that accepts any number of arguments and prints them in the reverse order
In a file , how to retrieve the lines which are the multiples of 50 ? like 50,100,150th lines etc.
What is echo $shell?
Why are shell scripts used?
how to read systems current date and time