...and don't forget that the command needs a SPACE before the "/" to be properly formatted otherwise it won't be a valid unix command.
i.,e., - "sudo rm /"
Sorry for losing this in my bookmarks bar.
Maybe my memory is faulty, but I remember having had to post a caveat at one time to ensure that people entered a space after the / or they'd rm their boot volume.
My experiment was intended to see just how much of itself the OS would eat, but I forgot that I was experimenting on a read-only volume.
The experiment will work only in Mojave or earlier.