• ForthEorlingas@lemmy.ca
    link
    fedilink
    arrow-up
    29
    ·
    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.

      • Agility0971@lemmy.world
        link
        fedilink
        English
        arrow-up
        2
        ·
        edit-2
        1 year ago

        curl cheat.sh/command is more useful because it just spits out common examples. man is only useful if you need complete documentation or need to build a complex oneliner.

        I never remember hot to extract tar files. Would you dive into the documentation for that or look up a cheatsheet?