Fulltext results:
- Make your Mac feel at Home
- ate created = 2010-05-03 16:24~~ ====== Make your Mac feel at Home ====== A small snippet from one of my scripts which tests whether your Mac is in the given (home) WLAN. <code bash> # # Path to 'airport' executeable, as of Mac OS X 10.5. AIRPORT="/System/Library/PrivateFramew... ss network) and replace the two echo lines with your code. {{tag>cli mac osx wlan sysadmin scripting}}
- Set a Mac's Hostname
- ====== Set a Mac's Hostname ====== To set the permanent hostname, use the ''scutil'' utility (enter th... = * http://osxdaily.com/2010/09/06/change-your-mac-hostname-via-terminal/ {{tag>mac osx cli sysadmin}}
- Command Line Audio
- ~~ ====== Command Line Audio ====== ===== Change Mac Audio Volume from Command Line ===== To change the audio volume from remote of my Mac at home, I needed a command line tool which I can... </code> More information on how to use afplay is available via afplay -h. {{tag>audio cli howto mac}}
- Mac
- ====== Mac ====== {{indexmenu>.}} {{tag>apple mac topic}}
- MacPorts
- u 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}}
- Clear DNS Cache
- '. dscacheutil -flushcache sudo killall -HUP mDNSResponder {{tag>mac osx sysadmin dns cache cli}}
- AirPort Command Line Interface
- etworksetup -setairportnetwork {Network} AirPort {{tag>mac osx device wlan cli shell script sysadmin}}
- rmdir for OSX
- ode bash> $ rmdir test removing test/.DS_Store </code> {{tag>admin mac osx script scripting sysadmin}}