• skip to content

andunix.net

User Tools

  • Log In

Site Tools

  • Recent Changes
  • Media Manager
  • Sitemap
You are here: andunix.net » Infos » Mac » Set a Mac's Hostname
Trace: • Notes for the Solaris 10 System Administration Exam (CX-310-200 & -202) • solaris10 • Command Line Audio • andunix Infos • ReLAX • macosx • version_control • Welcome to your new DokuWiki • opensolaris • Set a Mac's Hostname

Sidebar

andunix Infos

  • Android
  • Coding
  • Cryptography
  • Database
  • Java
  • JavaScript
  • Link Lists
  • Linux
  • Mac
    • AirPort Command Line Interface
    • Clear DNS Cache
    • Comapct Sparse Image
    • Set a Mac's Hostname
    • Command Line Audio
    • MacPorts
    • Make your Mac feel at Home
    • rmdir for OSX
  • MySQL
  • Oracle
  • Programs
  • Scripting
  • Solaris
  • System Administration
  • VirtualBox
  • Web Design
  • firefox
  • Mercurial
  • SSH
  • Thunderbird Extendsions
  • WiFi Config QR-Code

Tags

add-on admin android blogging certificate cli coding config country cryptography css database debian design device documentation drupal howto iso java javascript linux list mac mozilla mysql network opensolaris openssl oracle osx programming project reference script scripting security shell solaris sql ssh standard sysadmin tool topic travian virtualbox web webdesign wlan
info:mac:hostname
Please note, that this is an old archived version of this site. Check out the new version at andunix.net!

Set a Mac's Hostname

To set the permanent hostname, use the scutil utility (enter the desired hostname instead of the_hostname):

sudo scutil --set HostName the_hostname

Credits

  • http://osxdaily.com/2010/09/06/change-your-mac-hostname-via-terminal/
mac, osx, cli, sysadmin
info/mac/hostname.txt · Last modified: 2015-11-25 08:53 by andunix

Page Tools

  • Show pagesource
  • Old revisions
  • Backlinks
  • Back to top
Except where otherwise noted, content on this wiki is licensed under the following license: CC Attribution 4.0 International
CC Attribution 4.0 International Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki