Category: Command Line Tools


Autocomplete cli from history

Use the fol­low­ing steps to do the reverse search in your bash his­tory. $ Ctrl + R $(reverse-i-search)‘’: [start typ­ing com­mand…] [Tab/Enter] — Tab will com­plete the com­mand and brings back the CLI. -…


$? variable in linux

$? Sta­tus of the pre­vi­ous process / com­mand which ran on the shell $ pwd $ echo $? // returns 0 which means the pre­vi­ous com­mand ran sucess­fully $ blah­Com­mand $echo $? // returns 1…


[Resolved] unsupported major.minor version 52.0

This is a generic issue. I solved it using the fol­low­ing steps. Unin­stall Java com­pletely 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 run­time from the…