this post was submitted on 08 Jul 2023
205 points (95.6% liked)

Programmer Humor

32560 readers
402 users here now

Post funny things about programming here! (Or just rant about your favourite programming language.)

Rules:

founded 5 years ago
MODERATORS
 

this is from this post on !linuxhumor@lemmy.ml

You can find an explanation there if you are confused or learning

top 18 comments
sorted by: hot top controversial new old
[–] boblemmy@lemmy.world 30 points 1 year ago (1 children)
[–] madeindjs@lemmy.ml 12 points 1 year ago (1 children)
[–] TickleMeElmo@discuss.tchncs.de 27 points 1 year ago

Nah, that's just chaotic. Evil would be

export EDITOR=rm

Hi there! Looks like you linked to a Lemmy community using an URL instead of its name, which doesn't work well for people on different instances. Try fixing it like this: !linuxhumor@lemmy.ml

[–] madeindjs@lemmy.ml 15 points 1 year ago (2 children)
[–] matricaria@feddit.de 14 points 1 year ago* (last edited 1 year ago) (1 children)

tar -xzf (eXtract Ze File)

tar -czf (Compress Ze File)

[–] eyvind@lemmy.world 6 points 1 year ago (1 children)

Mmmnnn z means (de)compress, c means create: -xf and -cf extract and create uncompressed tarballs. Also it’s far more complicated.

[–] matricaria@feddit.de 3 points 1 year ago

I’m sorry!

boom

[–] Joe_0237@lemmy.ml 3 points 1 year ago

Tangentially related. I'm being confusing for educational purposes, tar is impossible even if you know it.

[–] marcos@lemmy.world 12 points 1 year ago (1 children)

For newbies that know from the top of their head what a cd-rom is...

[–] Joe_0237@lemmy.ml 8 points 1 year ago (1 children)

Fair point. You can probably be 20 these days and not have really used CDs in your memory. Is this what getting old feels like?

[–] spauldo@lemmy.ml 5 points 1 year ago

Speaking as someone that grew up with records, 8-tracks, and cassettes: yes, yes it is.

[–] matricaria@feddit.de 11 points 1 year ago

In Vim:

:Sex

It's also helpful to note that “shell builtins” don't typically have man pages (at least for BASH). You can find help on these commands by typing [builtin name] --help or looking in the shell's man page or info doc (no one told me when I was learning, so I got confused as to why some of the more common commands didn't have man pages)

[–] bi_tux@lemmy.world -2 points 1 year ago (2 children)

Once when I was drunk it took me 5min to realise, that a cd rom is in fact a read only file system

[–] poweruser@lemmy.sdf.org 4 points 1 year ago

Change Directory -> Read Only Media

[–] TurtleTourParty@midwest.social 4 points 1 year ago (1 children)

Does this mean that a cd-rw is not in fact a CD rom?

[–] aidan@lemmy.world 5 points 1 year ago
load more comments
view more: next ›