• ForthEorlingas@lemmy.ca
    link
    fedilink
    arrow-up
    0
    ·
    1 year ago

    On a related note, the website cheat.sh is also a great resource. Just curl it with the command you want to learn about as the endpoint.

    For example, if I want to learn about grep, just open a terminal and

    $ curl cheat.sh/grep
    

    And a short and sweet description with examples will be returned.

      • ISOmorph@feddit.de
        link
        fedilink
        arrow-up
        0
        ·
        1 year ago

        I added a custom function to my bashrc:

        cheat-sheet() {
        	curl cheat.sh/"$1"
        }
        

        Then you can call cheat-sheet grep for example