I have an executable script which I want to run every time I log in or open a new interactive shell. I added the path to this executable in
.profile and sourced it by adding this line to
After rebooting, this script was not run.
Why is sourcing a script in
.profile not executed by bash even after restarting fedora?
Edit: Made question clearer