${LOGNAME} vs. ${USER}

Johnny Rosenberg gurus.knugum at gmail.com
Sun Jul 12 17:45:36 UTC 2015


Thanks for your input, everyone.
As I understand it, LOGNAME seems to be there for compatibility reasons.

One thing that changed when I switched from Ubuntu 12.04 to Ubuntu 14.04 is
what I already mentioned, that things like SD-cards end up at
”/media/<username>/” now, the earlier location was just ”/media/”. One wild
guess I do is that Ubuntu uses either USER or LOGNAME somewhere ”under the
hood”, to determine the location of my SD card. If so, which one?

I'm just curios, that's all. I don't really need the information, but it's
fun to know things…


Kind regards

Johnny Rosenberg
ジョニー・ローゼンバーグ
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/ubuntu-users/attachments/20150712/e62227a8/attachment.html>


More information about the ubuntu-users mailing list