Fulltext results:
- Make your Mac feel at Home @info:mac
- 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 @info:mac
- 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
- DynDNS Updates without a Client @info:script
- ndns.cfg DOMAINS=$(cat ${HOME}/.dyndns.domains) echo "$(date '+%Y-%m-%d %H:%M') $(basename $0)" for domain in ${DOMAINS}; do echo -n " ${domain} - " curl --silent --show-
- Setting the Timezone @info:linux:debian
- timezone </code> Or set it directy: <code bash> echo "Europe/Berlin" > /etc/timezone </code> {{tag>li
- Oracle: SQLplus Scripting @info:oracle
- 0 SET SPACE 0 SET LINESIZE 80 SET PAGESIZE 0 SET ECHO OFF SET FEEDBACK OFF SET VERIFY OFF SET HEADING O
- Disable Core Dumps @info:linux
- with the content ''* hard core 0'': <code bash> echo '* hard core 0' > /etc/security/limits.d/no_core_
- localeadm @info:solaris
- ga-sparc-dvd.iso" LOFIDEV=$(lofiadm -a ${ISOIMG}) echo LOFIDEV=${LOFIDEV} mount -F hsfs ${LOFIDEV} /mnt
- rmdir for OSX @info:mac
- o f="${d%/}/.DS_Store" if [ -f "${f}" ] then echo "removing ${f}" rm "${f}" fi /bin/rmdir "${d