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

write a shell script that accepts name from user and creates a directory by the path name, then creates a text file in that directory and stores in it, the data accepted from user till STOP, displays the no. of characters stored in the file.Program stops if directory name is null

1 Answers  


What is batch file programming?

0 Answers  


wats the she bang statment with syntax?

3 Answers  


What is the use of "$#" in shell scripting?

0 Answers  


‎What is a shell? · ‎Types of shell · ‎what is shell scripting?

0 Answers  






What is bash coding?

0 Answers  


What can you do with powershell?

0 Answers  


When you login to a c shell, which script would be run first?

2 Answers  


How to set an array in linux?

0 Answers  


Can we run shell script in windows?

0 Answers  


Give some situations where typing error can destroy a program?

0 Answers  


How to calculate the number of passed arguments?

0 Answers  


Categories