Comment

Comment by Damogran6

This was how I knew OSX was a real Un*x....I was messing around with...I dunno...brew's predacessor? A package manager that installed linux apps on OSX...everything was based under /opt, so it was easy to just nuke and restart to clean up the cruft.

typed sudo rm -rf / opt

And let it rip.

Then got a weird error message, like a library couldn't load....then the icons in the dock went away, then the only thing that was working properly was the web browser windows that were still fully loaded in memory

then noticed the SPACE between '/' and 'opt'

rm -rf was rm -rf-ing from root.

Valuable lesson learned that day.

parent Damogran6 5 years ago

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton