I want to edit my
$PATH environment variable. According to several tutorials and other sources (e.g. this Q&A), the most common way is to edit
~/.profile. However, for me, no such file exists. What can I do? (Are there different names on some systems? Should I create it? What needs to go in there? Are there other ways?)
I am a user on a network cluster, obviously I don't want to edit any global environment variables. I've edited
~/.bashrc before to change some stuff for my user, and there are several
~/.-files, but not
I'm on Ubuntu 16.04.2 LTS Codename: Xenial.
echo $PATH gives me only some global bin-directories, but after installing some user specific bins (to
/path/to/home~/expanded/.local/bin/) I just want to add this to the PATH.