This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
# Update MacPorts base to latest released version using 'selfupdate' | |
# Then upgrade all outdated ports (upgrade outdated), and uninstall old version of each port (-u) | |
# http://guide.macports.org/#using.common-tasks.updating | |
# http://guide.macports.org/#using.port.upgrade | |
# Can be called from Cron |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
# Shell script scripts to get hostnames from IPs and VIPs listed in ifconfig | |
# ------------------------------------------------------------------------- | |
# Copyright (c) 2005 nixCraft project <http://cyberciti.biz/fb/> | |
# This script is licensed under GNU GPL version 2.0 or above | |
# ------------------------------------------------------------------------- | |
# This script is part of nixCraft shell script collection (NSSC) | |
# Visit http://bash.cyberciti.biz/ for more information. | |
# ------------------------------------------------------------------------- | |
# Based off of http://bash.cyberciti.biz/misc-shell/read-local-ip-address/ |
NewerOlder