News for hackers. Stuff that matters.
Re:$ sudo rm -rf / === NPM install by SAI_Peregrinus on Tuesday November 09, 2021 @09:05PM (#29170288)
It's -u.

You can also prevent this by never using $VAR, and instead always using ${VAR:?} to exit with error if VAR is unset (or use one of the other options to provide a default).

There are no comments on this comment yet.