Notes by KargWare
Software | Web | QA-CI-CD | Apps | Hardware
Impressum Datenschutz
Tags Categories Dates
 Seitenende 

Archive of Notes by KargWare

2019-10-15
How to set hostname of Mac on terminal
2019-10-15 Nicolas Karg
SOFTWARE
appleosXterminal

This post will show how to set the hostname of a mac on the terminal, we will use the tool `scutil` and `dscacheutil` to flush the DNS cache. Provide the sudo password when you are asked for. ## Hostname `Hostname` is the fully qualified hostname, including the domain, e.g. myMac.tld.com ## LocalHostname `LocalHostname` is the name of the mac in the local network, e.g. myMac.lan. When needed add the trailing `.local` or `.lan` or just omit the extension. ## ComputerName…

 Seitenanfang 

Kargware

  • RSS-Feed
  • GitHub
  • GitLab
  • Twitter
  • Instagram
  • Stackoverflow
  • Nuget

Website

  • Impressum
  • Datenschutz
  • Info

Services

  • Wordpress Blog
  • Jekyll Notes
  • NextCloud
  • OwnCloud
  • Matomo
  • YOURLS