After nuking my old install, I am in need of a hostname. Top comment chooses it.

  • Gobbel2000@feddit.de
    link
    fedilink
    arrow-up
    349
    arrow-down
    2
    ·
    10 months ago

    lemmy.made.me.look.at.this.each.time.i.open.a.terminal

    Hostnames can be up to 64 characters long in Linux.

    • moonleay@feddit.deOP
      link
      fedilink
      arrow-up
      32
      arrow-down
      1
      ·
      edit-2
      10 months ago

      This seems to be the most popular one, though I can’t use it in the way its written here, because it will fuck up DNS. I’ll substitute the dots with dashes and then it should work.

    • lud@lemm.ee
      link
      fedilink
      arrow-up
      13
      ·
      10 months ago

      Hostnames can be up to 64 characters long in Linux.

      But should they?

      ^No

    • SunRed@discuss.tchncs.de
      link
      fedilink
      arrow-up
      6
      ·
      10 months ago

      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.

    • Agility0971@lemmy.world
      link
      fedilink
      arrow-up
      2
      ·
      edit-2
      10 months ago

      I tried with emojiea and it worked. what would break it though?

      edit: nvm something broke after a reboot. neofetch reports the hostname as ‘archlinux’ instead of whatever is inside /etc/hostname. matlab drive connector reset and initializer dialog poped up which it did not do before.