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

solaris Run level?

3 Answers   Wipro,


Why is it called grep?

0 Answers  


what is the functionality of kernel in unix architecture?

13 Answers   HCL,


How do you find out all processes that are currently running in UNIX OS?

10 Answers  


what are processor execution levels and priorities?

2 Answers   Infosys,






what is the use of "grep" command?

6 Answers   HCL,


Briefly, how do you install Oracle software on UNIX.

2 Answers  


What is the procedure of "at" and crontab" commands?

4 Answers  


Give Command that will change the name of a directly from paypal to eBay

3 Answers   Alcatel, IBM,


Give a regular expression that finds two things, try to come up with regular expressions that find each individually using "egrep" command?

5 Answers  


Is ‘du’ a command? If so, what is its use?

0 Answers  


what is the difference between relative path and absolute path?

7 Answers  


Categories