Fulltext results:
- MacPorts
- = List Ports ===== list requested ports: <code bash> port echo requested | cut -d ' ' -f 1 | uniq </code> list installed ports: <code bash> port -qv installed </code> ===== Housekeeping =... ou can see a list of all installed ports: <code bash> port echo installed </code> After you run MacPo... of duplicate ports. You can clean these: <code bash> sudo port uninstall inactive </code> {{tag>admi
- rmdir for OSX
- from the command line quite complicated: <code bash> $ rmdir test rmdir: test: Directory not empty $ ... ore $ /bin/rmdir test </code> I wrote a small bash function to remove directories together with the contained ''.DS_Store'' file: <code bash> rmdir() { for d in "$@" do f="${d%/}/.DS_Store"... ion you can remove the directory at once: <code bash> $ rmdir test removing test/.DS_Store </code> {{
- Command Line Audio
- I needed a command line tool which I can use via ssh. I've found it here: [[http://osxdaily.com/2007/0... from the command line]]. It's as easy as <code bash> sudo osascript -e "set Volume 10" </code> You c... mand line audio player]]. You just enter <code bash> afplay file.wav </code> More information on how
- Clear DNS Cache
- clear the DNS cache on OS X, you first have to flush the cache and then send a signal the the 'mDNSResponder'. dscacheutil -flushcache sudo killall -HUP mDNSResponder {{tag>mac
- Set a Mac's Hostname
- d hostname instead of ''the_hostname''): <code bash> sudo scutil --set HostName the_hostname </code>
- Make your Mac feel at Home
- er your Mac is in the given (home) WLAN. <code bash> # # Path to 'airport' executeable, as of Mac OS
- Comapct Sparse Image
- ====== Comapct Sparse Image ====== <code bash> hdiutil compact your.sparseimage </code> {{tag>sysadm
- AirPort Command Line Interface
- tworksetup -setairportnetwork {Network} AirPort {{tag>mac osx device wlan cli shell script sysadmin}}