this post was submitted on 08 Jul 2023
203 points (95.5% liked)

Programmer Humor

32588 readers
1646 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 [email protected]

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

top 18 comments
sorted by: hot top controversial new old
[–] boblemmy 28 points 1 year ago (1 children)
[–] [email protected] 11 points 1 year ago (1 children)
[–] [email protected] 25 points 1 year ago

Nah, that's just chaotic. Evil would be

export EDITOR=rm

[–] [email protected] 17 points 1 year ago

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: [email protected]

[–] [email protected] 15 points 1 year ago (2 children)
[–] [email protected] 14 points 1 year ago* (last edited 1 year ago) (1 children)

tar -xzf (eXtract Ze File)

tar -czf (Compress Ze File)

[–] eyvind 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.

[–] [email protected] 3 points 1 year ago

I’m sorry!

boom

[–] [email protected] 2 points 1 year ago

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

[–] marcos 12 points 1 year ago (1 children)

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

[–] [email protected] 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?

[–] [email protected] 4 points 1 year ago

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

[–] [email protected] 9 points 1 year ago

In Vim:

:Sex

[–] [email protected] 7 points 1 year ago

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 -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

[–] [email protected] 4 points 1 year ago (1 children)

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

[–] aidan 4 points 1 year ago
[–] [email protected] 4 points 1 year ago

Change Directory -> Read Only Media

load more comments
view more: next ›