How To Install a .pkg file from the Command Line on MacOSX

Author: , August 12th, 2016

sudo /usr/sbin/installer -pkg /path/to/yourFile.pkg -target /

How To Fix “dyld: shared cached file was build against a different libSystem.dylib, ignoring cache”

Author: , July 28th, 2016

MacOSX 10.6.8 Snow Leopard running on a Mac Pro 2009 8-way After a system crash, using the backup drive, this error started to appear: dyld: shared cached file was build against a different libSystem.dylib, ignoring cache To fix it, execute the following in Terminal: sudo update_dyld_shared_cache -force As always, YMMV!

How To Create a Bootable MacOSX USB Flash Drive

Author: , June 11th, 2016

As the root user, execute: “/Applications/Install OS X El Capitan.app/Contents/Resources/createinstallmedia” –volume /Volumes/{USB_DRIVE_NAME_HERE}/ –applicationpath “/Applications/Install OS X El Capitan.app” Be sure to include the required double-quotes, or use backslashes to escape the spaces in the path. Full instructions may be found on the Apple site: https://support.apple.com/en-us/HT201372 Turn on your Mac by pressing the power button Press […]

How To Eject a Volume from the Terminal Command Line in MacOSX

Author: , December 8th, 2015

As always, YMMV…

How To Export Apple Email Rules

Author: , November 10th, 2015

Quit Mail. Look for a file called MessageRules.plist under ~/Library/Mail. Depending on your Mail version it could be under ~/Library/Mail/V2/Maildata as well. Copy that file. It can be edited with vim or the PList editor. I find it much easier to work with as text in vim.

How To Reset Nagios State

Author: , November 5th, 2015

Every once in a while there is a hiccup in my internet service and every host that Nagios monitors shows DOWN. In those situations, I do not need the hundreds of the emails and text messages generated by Nagios. Here is the procedure for resetting Nagios v3.5.0 running on MacOSX 10.6.8 via a MacPorts install: […]

How To Disable the Bash Terminal Bell

Author: , July 7th, 2015

The Readline library has a bell-style variable that controls what happens when Readline wants to ring the terminal bell. If set to ‘none’, Readline never rings the bell. If set to ‘visible’, Readline uses a visible bell if one is available. If set to ‘audible’ (the default), Readline attempts to ring the terminal’s bell. Edit […]

How To Get a Count of Open Files by User on MacOSX

Author: , June 18th, 2015

13137 erics 2421 root 330 _www 139 _mdnsresponder 56 _softwareupdate 34 _coreaudiod 33 _mysql 32 _networkd 23 _assetcache 21 _usbmuxd 21 _locationd 18 _spotlight 13 _nsurlsessiond 13 _netbios 13 _appleevents 10 _windowserver 10 _iconservices 10 _displaypolicyd 8 _nsurlstoraged 8 _distnote

How To Disable Dock Icon Bounce For MacOSX Terminal

Author: , June 15th, 2015

How To Enable Full Finder in MacOSX 10.10 Yosemite

Author: , March 30th, 2015

defaults write com.apple.finder InterfaceLevel standard