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

How do I find previous commands in unix?

0 Answers  


to list a particular line in the file

5 Answers  


what is the advaantage of each user having its own copy of the shell?

2 Answers   Infosys,


What does mkdir up2date; touch outdated up2date do?

2 Answers  


What is grep in bash?

0 Answers  






Explain the terms ‘system calls’ and ‘library functions’ with respect to unix commands?

0 Answers  


What is the difference between Shell Programming and Shell scripting?

10 Answers   HCL, TCS, Wipro,


Give Command that will move a single file called "unix.txt"

7 Answers   IBM,


What is s and g in sed command?

0 Answers  


in UNIX,How to copy file into directory?

5 Answers  


What are bash commands?

0 Answers  


what is the default signal kill in unix?

8 Answers   IBM,


Categories