Fulltext results:
- Set a Mac's Hostname
- ====== Set a Mac's Hostname ====== To set the permanent hostname, use the ''scutil'' utility (enter the desired hostname instead of ''the_hostname''): <code bash> sudo scutil --set HostName the_hostname </code> ===
- Command Line Audio
- h I can use via ssh. I've found it here: [[http://osxdaily.com/2007/04/28/change-the-system-volume-from-the-command-line/|OS X Daily - Change the system volume from the command line]]. It's as easy as <code bash> sudo osascript -e "set Volume 10" </code> You can enter ... m command line is described here: [[http://www.macosxhints.com/article.php?story=20081002080543392|mac
- AirPort Command Line Interface
- Interface ====== ===== AirPort On/Off ===== Infos from [[http://osxdaily.com/2011/05/31/enable-disable-airport-wireless-connections-command-line/|OS X Daily]] ==== AirPort On ==== networksetup -... tworksetup -setairportnetwork {Network} AirPort {{tag>mac osx device wlan cli shell script sysadmin}}
- rmdir for OSX
- ====== rmdir for OSX ====== The Finder on OSX creates ''.DS_Store'' files in the directories to store its settings. This... de bash> $ rmdir test removing test/.DS_Store </code> {{tag>admin mac osx script scripting sysadmin}}
- Make your Mac feel at Home
- ash> # # Path to 'airport' executeable, as of Mac OS X 10.5. AIRPORT="/System/Library/PrivateFramework... s network) and replace the two echo lines with your code. {{tag>cli mac osx wlan sysadmin scripting}}
- Clear DNS Cache
- Clear DNS Cache ====== To clear the DNS cache on OS X, you first have to flush the cache and then sen... . dscacheutil -flushcache sudo killall -HUP mDNSResponder {{tag>mac osx sysadmin dns cache cli}}
- MacPorts
- can clean these: <code bash> sudo port uninstall inactive </code> {{tag>admin cli mac osx sysadmin}}
- Comapct Sparse Image
- Image ====== <code bash> hdiutil compact your.sparseimage </code> {{tag>sysadmin cli apple mac osx}}
- andunix Infos
- ===== andunix Infos ===== {{indexmenu>info:#1 .:#1}} ===== Tags ===== ~~TAGCLOUD:50~~