News for hackers. Stuff that matters.
Re:You Don't Need a GUI by silveri on Friday April 09, 2021 @02:59AM (#26747469)
That's basically what cheat.sh does. It's an editable wiki that contains common use cases (cheat sheets) and can be called directly from the command-line, e.g.:

    curl cheat.sh/ffmpeg
    curl cheat.sh/youtube-dl
    curl cheat.sh/cd
    curl cheat.sh/find
It gives quite a bit more than 3 use cases, but you could do:

    curl -s cheat.sh/ffmpeg | head
For more details you can go to the site in a browser or use:

    curl cheat.sh
    curl cheat.sh/:help
Re:You Don't Need a GUI by madog on Friday April 09, 2021 @09:46AM (#26750504)
I like cheat.sh. I have this in .bashrc to allow "cheat <cmd>" from bash shell:

    function cheat() {
        curl cht.sh/$1
    }
Re:You Don't Need a GUI by Badfood on Friday April 09, 2021 @03:45PM (#26755178)
Thanks
Re:You Don't Need a GUI by NotPavlovsDog on Friday April 09, 2021 @05:57AM (#26748578)
when calling cheat.sh for youtube-dl, it appears to cite tldr:youtube-dl

So perhaps a suggestion could be to install tldr so as to be able to call a summary in your terminal without the need for web-access to cheat.sh