C is a more preferable option in the following cases:
> All the commands can be aliased simply with the C shell whereas the same is not possible in case of Bourne Shell.
> Lengthy commands can be used again and again in C shell whereas the Bourne doesn’t allow the same in all the cases.
> The command history can be accessed through the C shell but it cannot be accessed through the Bourne.
Posted Date:- 2021-09-10 01:13:36
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?