AlexPewMaster@lemmy.zip to Linux@lemmy.ml · 9 months agoWhat is the /opt directory?message-squaremessage-square46fedilinkarrow-up1127arrow-down13file-text
arrow-up1124arrow-down1message-squareWhat is the /opt directory?AlexPewMaster@lemmy.zip to Linux@lemmy.ml · 9 months agomessage-square46fedilinkfile-text
I’ve seen a lot of self-hosted software wanting to store their data in /opt, is there any reason why?
minus-squareMonkderZweite@feddit.chlinkfedilinkarrow-up2·9 months agoHow about $HOME, is it standardized?
minus-squareCaptain Aggravated@sh.itjust.workslinkfedilinkEnglisharrow-up4·9 months ago$HOME is a shell variable, created by the shell as it starts, reading from the /etc/passwd file. It’s a string, not a symlink or anything.
minus-squareMonkderZweite@feddit.chlinkfedilinkarrow-up1·edit-29 months agoI mean about the ‘should query for it’ part.
minus-squareatzanteol@sh.itjust.workslinkfedilinkEnglisharrow-up1·9 months agoFor the currently logged-in user it’s fine, yes. It should always be set.
How about $HOME, is it standardized?
$HOME is a shell variable, created by the shell as it starts, reading from the /etc/passwd file. It’s a string, not a symlink or anything.
I mean about the ‘should query for it’ part.
For the currently logged-in user it’s fine, yes. It should always be set.