1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-08-23 22:04:13 +02:00
tldr/pages/osx/hostname.md

12 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}}`