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

What can you do with powershell?

0 Answers  


How do you print the output the same string which is typed in command line. how do you write the shell script or command for this. if i entered "Hello" in command line, it should print 'Hello', if i say "Hello Welcome", i should get the "Hello Welcome" as output.?

3 Answers   IBM, Symphony,


What are the advantages of bash over all other shells?

1 Answers  


What are the 3 standard streams in linux?

0 Answers  


What is the use of break command?

0 Answers  






is this growing field and what is average package in this?

0 Answers  


shell script for reverse the string

0 Answers  


How to print all array elements and their respective indexes?

0 Answers  


How do I run a shell script on a mac?

0 Answers  


What is shell chemistry?

0 Answers  


Write a shell program to test whether a given number is even or odd?

8 Answers  


What does egrep mean?

0 Answers  


Categories