News for hackers. Stuff that matters.
Re:Classic article from Mario Wolczko first appeared on Usen... by seanhunter on Tuesday August 01, 2023 @08:00AM (#36954913)
Yes. Or one lowtech method I use often is `touch ~/-i`. When someone tries to rm -rf * the file called “-i” gets globbed at the front of the arguments and the subsequent command goes into “interactive “ mode meaning it prompts y/n for each file
Re:Classic article from Mario Wolczko first appeared on Usen... by tpoacher on Wednesday August 02, 2023 @03:08AM (#36967904)
Nice! Great "bug as a feature" trick!