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 pipes?

4 Answers  


How do you copy a directory with many files and folders into another directory?

2 Answers  


how to change a normal file into hidden file

3 Answers  


write grep commands to select the lines that have exactly two characters

8 Answers   PSI Data Systems,


What is the nmap command?

0 Answers  


Which RAID Levels supported by LVM?

5 Answers  


What does the command ' $who | sort –logfile > newfile' do?

0 Answers  


What is unix command?

0 Answers  


Why is awk called awk?

0 Answers  


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

0 Answers  


How do I use nslookup?

0 Answers  


A file has 1000 lines and i want to display only 1st line how to do it? pls ..tel me

7 Answers   CTS,


Categories