${LOGNAME} vs. ${USER}
Johnny Rosenberg
gurus.knugum at gmail.com
Sun Jul 12 13:03:33 UTC 2015
2015-07-12 14:49 GMT+02:00 Colin Law <clanlaw at gmail.com>:
> On 12 July 2015 at 13:32, Johnny Rosenberg <gurus.knugum at gmail.com> wrote:
> > Which is the correct path for my SD card ”H6_SD”?
> > "/media/${LOGNAME}/H6_SD"
> > or
> > "/media/${USER}/H6_SD"?
> >
> > In my case, both ${LOGNAME} and ${USER} happens to be the same, so both
> > work, but I guess that's not always true, is it?
>
> I think https://help.ubuntu.com/community/EnvironmentVariables
> suggests they are both the same. Though why it uses the word
> 'similar' rather than something less ambiguous I don't know. I always
> use USER.
>
> Colin
>
>
And it also says, about USER: ”You probably shouldn't change its value
manually”
Can I change it or not…? Not that I'd ever want to, but ”probably”…?
Johnny Rosenberg
> >
> >
> > Kind regards
> >
> > Johnny Rosenberg
> > ジョニー・ローゼンバーグ
> >
> >
> > --
> > ubuntu-users mailing list
> > ubuntu-users at lists.ubuntu.com
> > Modify settings or unsubscribe at:
> > https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
> >
>
> --
> ubuntu-users mailing list
> ubuntu-users at lists.ubuntu.com
> Modify settings or unsubscribe at:
> https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/ubuntu-users/attachments/20150712/3275a3f1/attachment.html>
More information about the ubuntu-users
mailing list