this post was submitted on 13 Jul 2021
0 points (NaN% liked)

technology

23182 readers
458 users here now

On the road to fully automated luxury gay space communism.

Spreading Linux propaganda since 2020

Rules:

founded 4 years ago
MODERATORS
 

for real though, modern linux distros will rarely require you to enter a command line, and if you do, a quick internet search can usually help you find out what you need to enter

you are viewing a single comment's thread
view the rest of the comments
[–] crime@hexbear.net 1 points 3 years ago

rm stuff/ without the recursive flag fails with an error (rm: cannot remove 'stuff': Is a directory) and doesn't remove anything. I'd guess the decision there was to have the least-destructive end result for ambiguous behavior, but I'm not entirely sure what the history is there, pretty sure that command is older than I am :)

The code font thingy is the back tick character: `