

9·
2 months agoTo answer the original question, even though @[email protected]’s advice really is superior:
All commands that can be executed via your shell must live in your $PATH
or their subdirectories. You could enumerate all files in there, filter by being executable, and run them with the --help
argument.
You can then filter these commands by their exit code. If --help
is a recognized flag, the exit code should be 0
. Otherwise it should be something else. (Running every command blindly might be a bad idea though.)
Recall stores an image every few seconds. 5 minutes is indeed much worse. Think of all the content they’re missing!