I know I can do man commandname
to find the docs for a specific command, but many times I simply Google "how to list all installed packages sorted by size" or "how to find file by content in a folder recursively", then usually I get to ask ubuntu / superuser / stackoverflow and 99/100 the accepted / highest voted answer contains the desired command, I copy, paste, and profit.
My question is this, is there any command line utility, that does something like this:
$ howto "get available disk space"
and returns
$ according to Stackoverflow, the command is "df -h" with 90% accuracy
$ 1) [run]
$ 2) run as sudo
$ 3) give next suggestion
$ 4) this is not right! (you'll be able to provide your suggestion next)
$ 5) exit
It's a bit like http://gkoberger.github.io/stacksort/ based on the alt text of this XKCD: http://xkcd.com/1185/
Couldn't find anything like it, does it exist?