I have been editing my .bashrc
file to run some commands, such as appending directories to the PATH
variable. However, from my knowledge, .bashrc
is only executed when a terminal is opened. (Correct...?) In this case, in order to make the necessary changes to PATH
, I would need to open up a terminal each time I log on to Ubuntu.
This doesn't seem like a very elegant thing to have to do, particularly for people who tend not to use the terminal much. Is there a way to run these commands when Ubuntu boots up, without requiring a terminal to be opened?