How to get a particular string as your prompt ? Give syntax
of that command?

Answers were Sorted based on User's Feedback



How to get a particular string as your prompt ? Give syntax of that command?..

Answer / manikantan t s

PS1="<string>"

Is This Answer Correct ?    4 Yes 0 No

How to get a particular string as your prompt ? Give syntax of that command?..

Answer / rana

if u want to change the prompt using a shell script
then


PS1="string"
export PS1

in a .sh file
then run this script with . command....

Is This Answer Correct ?    3 Yes 0 No

How to get a particular string as your prompt ? Give syntax of that command?..

Answer / jsdkar

using $PS1= string

Is This Answer Correct ?    1 Yes 3 No

Post New Answer

More Unix Commands Interview Questions

What is grep r?

0 Answers  


Give the command to display space usage on the UNIX file system.

16 Answers  


what is tar command and what are the different types of tar commands?

5 Answers  


What difference between cmp and diff commands?

0 Answers  


What is pipe command in unix?

0 Answers  






what is the cmd to remove the comment lines from a file and to display the original text without comments? thanks in advance......

5 Answers  


solaris Run level?

3 Answers   Wipro,


what is the use of ls -l command & what is the information it gives about user ?

5 Answers  


what are the uses of filters?

3 Answers  


How to know a process is a zombie or orphan process?

3 Answers   Perot Systems,


what are wild cards?

2 Answers  


Suppose 1000 processes are running on the system out of those if you have to show only certain process ids which command will you use?

5 Answers  


Categories