moonleay@feddit.de to Linux@lemmy.ml · edit-27 months agoTop comment gets to choose my hostnamemessage-squaremessage-square88fedilinkarrow-up1107arrow-down112file-text
arrow-up195arrow-down1message-squareTop comment gets to choose my hostnamemoonleay@feddit.de to Linux@lemmy.ml · edit-27 months agomessage-square88fedilinkfile-text
minus-squareSunRed@discuss.tchncs.delinkfedilinkarrow-up6·7 months agoMost shells usually default to a truncated version of the hostname that only uses the hostname up to the first dot. Of course one can change that by setting the PS1 env var and using (in case of bash) \H instead of \h.
Most shells usually default to a truncated version of the hostname that only uses the hostname up to the first dot. Of course one can change that by setting the
PS1
env var and using (in case of bash)\H
instead of\h
.