How to corrects your previous Linux/Unix command with thef**k app

Let us face it we all make mistakes at the command line. Typos? Wrong options? Forget to add sudo? The list goes on. There is a neat little app called thef**k (that is not a typo but real name of the app) which corrects your previous Linux and Unix command line mistakes.