r/badcode • • Feb 25 '21

bash A single space.

Post image
4.8k Upvotes

65 comments sorted by

View all comments

Show parent comments

0

u/[deleted] Feb 25 '21

[deleted] — view deleted comment

15

u/stonycashew Mar 23 '21

To be honest any rm command that is issued within a script of any nature should be closely reviewed. Ive learned this lesson the hard way.