tldr/pages/osx/hostname.md

13 lines
225 B
Markdown

# hostname
> Show or set the system's host name.
> More information: <https://www.tutorialspoint.com/unix_commands/hostname.htm>.
- Show current host name:
`hostname`
- Set current host name:
`hostname {{new_hostname}}`