In my bash shell I want my prompt to be of format '$"present working directory":"hostname"> and load a file containing a list of user-defined functions as soon as I log in, how will you automate this?


No Answer is Posted For this Question
Be the First to Post Answer

Post New Answer

More Shell Script Interview Questions

How u convert string "hi pravin how are you?" to "Hi Pravin How Are You?"

12 Answers   Cap Gemini,


What is sudo command?

0 Answers  


Can you write a script to portray how set –x works?

0 Answers  


Is shell scripting a language?

0 Answers  


Explain about echo command?

0 Answers  


HOW TO CREATE 10 USERS IN UNIX(HP-UX) USING SHELL SHELL SCRIPT?

3 Answers   Patni,


State the advantages of shell scripting?

0 Answers  


What are the different types of variables used in shell script?

0 Answers  


When we login into our account which files are executed?

3 Answers   Chip Quest,


What is the use of .sh file?

0 Answers  


What is a program shell?

0 Answers  


What is wc in shell script?

0 Answers  


Categories