Fulltext results:
- 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
- AirPort Command Line 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}}
- Set a Mac's Hostname
- the_hostname </code> === Credits === * http://osxdaily.com/2010/09/06/change-your-mac-hostname-via-terminal/ {{tag>mac osx cli sysadmin}}
- 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}}