Category: Command Line Tools


Autocomplete cli from history

Use the following steps to do the reverse search in your bash history. $ Ctrl + R $(reverse-i-search)`’: [start typing command…] [Tab/Enter] – Tab will complete the command and brings back the CLI. -...


$? variable in linux

$? Status of the previous process / command which ran on the shell $ pwd $ echo $? // returns 0 which means the previous command ran sucessfully $ blahCommand $echo $? // returns...


[Resolved] unsupported major.minor version 52.0

This is a generic issue. I solved it using the following steps. Uninstall Java completely sudo rm -fr /Library/Internet\ Plug-Ins/JavaAppletPlugin.plugin sudo rm -fr /Library/PreferencePanes/JavaControlPanel.prefPane sudo rm -fr ~/Library/Application\ Support/Java # Remove Java runtime from...