When I execute bash using bash
, I want a custom script to run, in that bash.
I want that script to always be the same script, and not provided via argument. Just a default custom initialization for my bash.
I couldn't find how to do that. This is not the same, nor is this.
I want the script to run when bash starts, not on startup of linux.
bash
command with no other options (so when you start a non-login interactive shell)? – terdon Feb 23 '23 at 12:28bash
. I don't even know what I type it into. I guess that is anon-login interactive shell
. – Gulzar Feb 23 '23 at 19:00