this post was submitted on 15 Aug 2023
92 points (97.9% liked)

Linux

48099 readers
720 users here now

From Wikipedia, the free encyclopedia

Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).

Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word "Linux" in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.

Rules

Related Communities

Community icon by Alpár-Etele Méder, licensed under CC BY 3.0

founded 5 years ago
MODERATORS
 

I just stumbled across this while trying to learn a bit more about using the command line, and thought others might appreciate it. It comes in a printable format so you can stick it up on your wall :)

https://linuxopsys.com/topics/linux-commands-cheat-sheet

you are viewing a single comment's thread
view the rest of the comments
[–] ForthEorlingas@lemmy.ca 25 points 1 year ago (2 children)

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.

[–] bjornp_@lemm.ee 10 points 1 year ago (1 children)

At that point just use 'man grep'.

[–] Agility0971@lemmy.world 2 points 1 year ago* (last edited 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?

[–] StudioLE@programming.dev 2 points 1 year ago (1 children)

My main issue with this is it requires a cheat sheet just to view a cheat sheet.

[–] ISOmorph@feddit.de 3 points 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