logo
Free, Micro AI Code Reviews That Run on Git Commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, Micro AI Code Reviews That Run on Git Commit | Product Hunt git-lrc - Free, Micro AI Code Reviews That Run on Git Commit | Product Hunt

Hostname Control - Manage Hostnames on Linux | Online Free DevTools by Hexmos

Control hostnames on Linux with hostnamectl. Manage system hostnames and pretty hostnames efficiently using the command line. Free online tool, no registration required.

hostnamectl

Get or set the hostname of the computer. More information: https://manned.org/hostnamectl.

  • Get the hostname of the computer:

hostnamectl

  • Set the hostname of the computer:

sudo hostnamectl set-hostname "{{hostname}}"

  • Set a pretty hostname for the computer:

sudo hostnamectl set-hostname --static "{{hostname.example.com}}" && sudo hostnamectl set-hostname --pretty "{{hostname}}"

  • Reset hostname to its default value:

sudo hostnamectl set-hostname --pretty ""