tty0.social is part of the decentralized social network powered by Mastodon.
tty0.social is the federated Mastodon home for command line junkies. All are welcome, we ask that you be respectful in your activities and interactions with others. Server admin - Brian Ketelsen

Server stats:

29
active users

Learn more

JdeBP

@cstross

It's ridiculous clickbait anyway, on the order of those "1 simple trick" articles, and as they do providing pretty much zero useful information.

For starters: GNU coreutils's "rm" has a check for the root directory, and has had for about 21 years; the default being to fail the command given in the article for about 18 years.

superuser.com/a/542982/38062

Super UserIs it possible to remove the root directory?I noticed in the documentation for rm as obtained by rm --help the following flag: --no-preserve-root do not treat `/' specially What does this mean? Is it actually possible to delete the root