-- Leo's gemini proxy
-- Connecting to freeshell.de:1965...
-- Connected
-- Sending request
-- Meta line: 20 text/gemini;lang=en-GB
> Get or set the hostname of the computer.
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 ""
> Copyright © 2014—present the tldr-pages team and contributors.
> This work is licensed under the Creative Commons Attribution 4.0 International License (CC-BY).
-- Response ended
-- Page fetched on Fri May 17 15:01:01 2024