June 2012
Beginner
227 pages
5h 43m
English
scutil — stdin stdout - file -- opt --help --version
scutil [options] [arguments]
The scutil command (“system
configuration utility”) can display basic network information, set the
computer hostname, and perform several other tasks. For example, view
your computer name with:
➜ scutil --get ComputerName
My Macintoshchange the computer name with:
➜ sudo scutil --set ComputerName bananacheck if another host is reachable from your Mac (though the
ping command is more
informative):
➜ scutil -r www.apple.com
Reachableor view technical DNS information with:
➜ scutil --dns
DNS configuration
resolver #1
search domain[0] : home
nameserver[0] : 192.168.1.1
resolver #2
...The program has other uses as well, like interacting with the
system configuration daemon (configd), but they are beyond the scope of
this book.
Read now
Unlock full access