sysadmin

10 posts

Microsoft Silverlight Logo

Remove Microsoft Silverlight from Mac OS X

Did you install Microsoft Silverlight on you Macintosh, no longer visit websites which need it, and are tired of the pop-ups that ask to update it? Here is how to painlessly remove Microsoft Silverlight from Mac OS X. Uninstall Microsoft Silverlight from Mac OS X Use the Finder to open /Library/Internet […]

Program Code

Recursive chmod in Linux and MacOSX

Recursively chmod directories only OR files only Recursively search directory tree (starting at the current directory ‘dot’): Recursively chmod 755 all directories only: find . -type d -exec chmod 755 {} \; Recursively chmod 644 all files only (and ignore the directories): find . -type f -exec chmod 644 {} […]

Open Hard Drive HDD

Disk Usage Summary in Linux or Mac OS X

Here is a simple way to get a disk usage summary in Linux or Mac OS X using the command-line. The “du” command is the conventional choice, but gives a lot of information by default. So, here is the exact syntax for “du” to return just the single, bottom-line, disk usage […]

Coding

LAME for Audacity on OS X

LAME for Audacity v1.2.x (OS X) Install and/or extract both LAME for Audacity v1.3 and v1.3 to /usr/local/lib/audacity. Create soft link: mkdir /Library/LAME ln -s /usr/local/lib/audacity/LameLib /Library/LAME/ Locate LAME inside of Audacity v1.2.x. See larger image The Book of Audacity: Record, Edit, Mix, and Master with the Free Audio Editor […]

Sync Key

Rsync Defaults for Archive Flag

Using rsync without the “archive flag” (-a). What does -a default to? It is the archive mode. -a, –archive; archive mode; equals -rlptgoD (no -H,-A,-X) Where: -r, –recursive; recurse into directories -l, –links; copy symlinks as symlinks -p, –perms; preserve permissions -t, –times; preserve modification times -g, –group; preserve group […]

Global Network

Bind Multiple IP Addresses in Linux

Need to bind multiple IP addresses to an network interface? Here is a nice article I found online: cd /etc/sysconfig/network-scripts/ cp ifcfg-eth0 ifcfg-eth0:0 cp ifcfg-eth0 ifcfg-eth0:1 cp ifcfg-eth0 ifcfg-eth0:2 … vi ifcfg-eth0:0 OLD article See larger image How Linux Works, 2nd Edition: What Every Superuser Should Know (Paperback) New From: […]