0
rated 0 times
[
0]
[
0]
/ answers: 1 / hits: 454
/ 1 Year ago, wed, december 14, 2022, 7:17:09
Normally, in bash, the answer would be ~/.bashrc or /etc/bash.bashrc. But unfortunately Ubuntu is sourcing these files from ~/.profile and /etc/profile respectively. So, where should I put such commands on Ubuntu?
See also Why is /etc/profile not invoked for non-login shells? if you are not familiar with these files.
More From » command-line