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 are the different commands used to create files?

5 Answers  


how many internal commands is there in UNIX?

3 Answers   TCS, Virtusa,


How i'll delete a particular line from the file? Please give answer as soon as possible. Thanks in advance.

12 Answers   IBM,


How do you change file permissions and ownership in Unix?

2 Answers  


What is unix command?

0 Answers  


What is the use of finger command?

0 Answers  


What is the difference between AWK and SED commands? Plz give example and explain...

3 Answers   RBS,


hi i have directories within the directory. Now i want to copy the directory along with all directories included in it to one location by using copy command? what is the command

2 Answers   ACS, Span Systems,


Explain how to use grep command to list find the records of a file containing 10 different strings?

0 Answers  


what are processor execution levels and priorities?

2 Answers   Infosys,


How can you change the owner or group of a file?

1 Answers  


How to display no of records in oracle using unix command?

0 Answers  


Categories