Fulltext results:
- 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... from command line is described here: [[http://www.macosxhints.com/article.php?story=20081002080543392|macosxhints - Use a built-in command line audio player
- 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}}
- MacPorts
- ====== MacPorts ====== ===== List Ports ===== list requested ports: <code bash> port echo requested |... bash> port echo installed </code> After you run MacPorts for a while, you will see a lot of duplicate... u can clean these: <code bash> sudo port uninstall inactive </code> {{tag>admin cli mac osx sysadmin}}
- Mac
- ====== Mac ====== {{indexmenu>.}} {{tag>apple mac topic}}
- 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}}