tldr/pages/osx/hostname.md

141 B

hostname

Show or set the system's host name

  • Show current host name

hostname

  • Set current host name

hostname {{new_hostname}}