moonleay@feddit.de to Linux@lemmy.ml · edit-211 months agoTop comment gets to choose my hostnamemessage-squaremessage-square95fedilinkarrow-up1107arrow-down112file-text
arrow-up195arrow-down1message-squareTop comment gets to choose my hostnamemoonleay@feddit.de to Linux@lemmy.ml · edit-211 months agomessage-square95fedilinkfile-text
minus-squareSunRed@discuss.tchncs.delinkfedilinkarrow-up6·11 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
.