Generally well known method to boot the mac into recovery mode is by holding the Command + R on keyboard while mac is turned on. However you can force the mac to boot into recovery mode upon next reboot by changing the nvram setting. To do that, Run below command.

macOS SIP supports a set of hidden options to disable few sections of SIP by passing hidden options to csrutil tool.

Each of these can be selectively disabled by running one of the following commands while booted into Recovery mode: csrutil enable --no-internalcsrutil enable --without kextcsrutil enable --without fscsrutil enable --without debugcsrutil enable --without dtracecsrutil enable --without nvram You can disable two or more components by structuring the command as follows: csrutil enable --without kext --without debug How to disable /enable to SIP , refer to http://anandmpandit.blogspot.in/2015/11/how-to-disable-system-integrity.html. Note : These options are tested on macOS ElCapitan , on higher version of macOS some or all of them may not work.

The following command in terminal app renames the files located in directory to their corresponding md5 hash on macOS.
Steps:
1. Open Terminal.app and go to the directory containing files.
2. Run following command in terminal to rename files by MD5 on macOS.

macOS-system$ for F in *.*; do mv $F "$(md5 "$F" | cut -d' ' -f4).${F##*.}"; done The above shell command renames all files in the current directory to their md5.

A usual problem on mac where the even after upgrading or installing the latest version of Java, when queried in command line for java version it still refers to the old version of java. something like below: $ java -version java version "1.7.0_79" Java(TM) SE Runtime Environment (build 1.7.0_79-b15) Java HotSpot(TM) 64-Bit Server VM (build 24.79-b02, mixed mode)

This is because the /usr/bin/java is pointing to /System/Library/Frameworks/JavaVM.framework/Versions/Current/Commands/java on the system. $ ls -la `which java` /usr/bin/java -> /System/Library/Frameworks/JavaVM.framework/Versions/Current/Commands/java

This is because Oracle's installer puts java inside the/Library/Internet Plug-Ins/JavaAppletPlugin.plugin. And it doesn't overwrite /usr/bin/java. So to fix this we have remove the existing soft link to old java and point it to new java binary. which can be done by performing following steps.

Easy Install is a python module (easy_install) bundled with setuptools that lets you automatically download, build, install, and manage Python packages. Sometimes due wrong installations easy_install might get corrupted and fail to install any package afterwords. You might see errors like below when you try to install any modules Traceback (most recent call last): File "/usr/local/bin/easy_install", line 7, in from setuptools.command.easy_install import main File "/Library/Python/2.7/site-packages/setuptools/__init__.py", line 12, in import setuptools.version File "/Library/Python/2.7/site-packages/setuptools/version.py", line 1, in import pkg_resources File "/Library/Python/2.7/site-packages/pkg_resources/__init__.py", line 72, in import packaging.requirements File "/Library/Python/2.7/site-packages/packaging/requirements.py", line 59, in MARKER_EXPR = originalTextFor(MARKER_EXPR())("marker&quot…