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

Who command in unix operating system?

0 Answers  


How to setup Disk space as well as memory in solaris10?

4 Answers  


What is the difference between awk and grep?

0 Answers  


What is shrinking file system in AIX where it actually resides?

0 Answers  


How do I clear my terminal history?

0 Answers  






Why is awk called awk?

0 Answers  


How to get the last ten lines of a file using awk utility?

1 Answers   Infosys,


How do you change your account's password?

6 Answers  


What is grep short for?

0 Answers  


What is the difference between Shell Programming and Shell scripting?

10 Answers   HCL, TCS, Wipro,


How can you create a symbolic link to a file or directory?

1 Answers  


Write a command to find all of the files which have been accessed within the last 30 days.

14 Answers   Cisco,


Categories