moonleay@feddit.de to Linux@lemmy.ml · edit-211 months agoTop comment gets to choose my hostnamemessage-squaremessage-square90fedilinkarrow-up1108arrow-down112file-text
arrow-up196arrow-down1message-squareTop comment gets to choose my hostnamemoonleay@feddit.de to Linux@lemmy.ml · edit-211 months agomessage-square90fedilinkfile-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
.