Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


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 the use of ls -l command & what is the information it gives about user ?

5 Answers  


What is the difference between udp and tcp?

2 Answers   HCL, TCS,


their is a file1,file2 and i want to append file1 data to file2?

9 Answers   IBM,


How to copy multiple files and directories into some other directory?

4 Answers  


what is the command to list files in a directory in UNIX?

8 Answers  


what are the different operating systems available?

3 Answers  


what is the default permission for /etc/shadow file in UNIX

2 Answers   Wipro,


what are the different commands used to create files?

5 Answers  


Who invented grep?

0 Answers  


Briefly, how do you install Oracle software on UNIX.

2 Answers  


How do you grep recursively?

0 Answers  


What command is used to check the current users?

0 Answers  


Categories