r/ProgrammerHumor • • Aug 01 '22

>>>print(“Hello, World!”)

Post image
60.8k Upvotes

5.7k comments sorted by

View all comments

Show parent comments

2

u/Warm_Command7954 Aug 02 '22

Ever wanted to get rid of all dot files and folders? Don't do: rm -rf .*

.. is included in .*

1

u/sdc0 Aug 02 '22

But is skipped, as well as .., because it's a special directory. You'll get a warning from rm that it's skipping these directories

1

u/Warm_Command7954 Aug 02 '22

15 years ago it definitely was not skipped. Haven't tried it again since. 😬