Fulltext results:
- Make your Mac feel at Home
- ID=$(${AIRPORT} --getinfo | grep ' SSID:') SSID=$(echo ${SSID} | grep "^SSID: ${HOMESSID}\$") # # Branch... n code. if [ "$?" == "0" ]; then # in home wlan echo "home sweet home..." else # not at home echo "on the road again..." fi </code> To use this code, set... name of the wireless network) and replace the two echo lines with your code. {{tag>cli mac osx wlan sys
- MacPorts
- rts ===== list requested ports: <code bash> port echo requested | cut -d ' ' -f 1 | uniq </code> list ... e a list of all installed ports: <code bash> port echo installed </code> After you run MacPorts for a w
- rmdir for OSX
- o f="${d%/}/.DS_Store" if [ -f "${f}" ] then echo "removing ${f}" rm "${f}" fi /bin/rmdir "${d