For example, in Ubuntu, there is always a
.local directory in the home directory and
.profile includes this line:
$HOME/.local/bin does not exist by default, but if it is created it's already in
$PATH and executables within can be found.
This is not exactly mentioned in the XDG directory specification but seems derived from it.
What I wonder is if this is common enough that it could be usually assumed to exist in the most common end user distributions. Is it, for instance, in all of the Debian derivatives, or at least the Ubuntu ones? How about the Red Hat/Fedora/CentOS ecosystem? And so on with Arch, SUSE, and what people are using nowadays.
To be extra clear, this is only for
Out of curiosity, feel free to include BSDs, OS/X and others if you have the information. :)