0

I know bashrc is executed on terminal startup. But my use case is something like this,
To execute a specific command, say ls, whenever user executes another specific command, say cd, on the terminal.

My current solution is overriding cd command. But again that I feel is not a good solution. But my restriction here is that my user-group may not be aware of this new command that I may create and continue using cd.

0 Answers0