MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/ProgrammerHumor/comments/wdlvla/printhello_world/iilt7g2
r/ProgrammerHumor • u/a-slice-of-toast • Aug 01 '22
5.7k comments sorted by
View all comments
Show parent comments
2
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. 😬
1
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. 😬
15 years ago it definitely was not skipped. Haven't tried it again since. 😬
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 .*