aboutsummaryrefslogtreecommitdiffstats
s6-linux-utils: the s6-hostname program

s6-linux-utils
Software
skarnet.org

The s6-hostname program

s6-hostname gets or sets the machine hostname.

Interface

     s6-hostname [ name ]
  • When called without an argument, s6-hostname prints the machine hostname to stdout.
  • When called with an argument, s6-hostname sets the machine hostname to name.
  • Then it exits 0.