sublime symlink disappeared after upgrading to El Capitan

In El Capitan, you are not allowed to write to /usr/bin, but writing to /usr/local/bin is ok. By default, /usr/local/bin should also be in your path variable. Had the same issue. Deleting and recreating the symlink has fixed the problem. Perhaps the current symlink is pointing to the wrong location after the upgrade. sudo rm … Read more

How to view DNS cache in OSX?

mDNSResponder (multicast DNS daemon) SIGINFO signal can dump a snapshot summary of the internal state to /var/log/system.log, including the cache details. To do this: Keep system log opened in one terminal: tail -f /private/var/log/system.log Send a SIGINFO signal to mDNSResponder from another terminal: sudo killall -INFO mDNSResponder Then check the logs in first terminal, you … Read more

iosnoop, iotop, opensnoop, execsnoop, opensnoop, dtruss and other dtrace based commands don’t work on osx El capitan, macOS Sierra

iosnoop relies on the dtrace subsystem. from: http://jimtechstuff.blogspot.com/2015/10/dtrace-broken-under-el-capitan.html Dtrace is broken under El Capitan One of the tools that I use quite a lot in debugging is ‘dtrace’ and the various utilities that use it. e.g. open snoop, iotop and a few that I wrote myself. With the GA of El Capitan, any utility that … Read more