@Videonauth this is about
an answer written by Eliah Kagan. I'm not confused about what this code does or where it should go, I'm just confused about which versions of Ubuntu have a
~/.profile
file that contains exactly this code, and not a different version of it without the test :)