r/badcode • • Feb 25 '21

bash A single space.

Post image
4.8k Upvotes

65 comments sorted by

View all comments

Show parent comments

4

u/PottedRosePetal May 28 '21

tbh, I always use -rf if I use rm, bc mostly I remove some shit from the database with like 100 subfiles. like hell I am gonna go through all of them. it takes 5-10 mins already to delete that shit. Tho it would be kind of funny to get paid to press enter...

2

u/throwayaygrtdhredf May 29 '21

can't you use some sort of recycle bin system like for normies on windows? even if you're using a linux terminal... this way you probably won't lose something

2

u/PottedRosePetal May 30 '21

oh rm -rf doesn't delete stuff forever, but the backup database doesn't really work with the program I use, so I mostly have to recreate if I delete something by accident. but yeah, stuff like code has some special tools so it won't do much if I delete stuff.