How Do I Find My Computer Name in Linux Mint?
Contents

How do I find out my computer name in Linux?

Finding the computer name on Linux

  1. Open a terminal. To open a terminal in Ubuntu, select Applications -> Accessories -> Terminal.
  2. Type hostname at the command line. This will print your computer name on the next line.

How do I change computer name in Linux Mint?

To Rename Computer in Linux Mint and Change PC Host Name, do the following.

  1. Open the Root Terminal.
  2. Edit the file /etc/hostname with your favorite text editor. …
  3. Change the PC name in the file and save it.
  4. Now, edit the file /etc/hosts. …
  5. Save the file and exit your editor.
Alexander Ross

Alexander Ross

Gaming, Esports & Interactive Media Writer

Alexander Ross has covered the video game industry for a decade, writing deep dives on game design, esports tournaments, VR developments, and gaming culture.

Share this article
Twitter Facebook Pinterest