Nahyan Ul - Haq <[email protected]> writes:
> In the rm utility there is the '--no-preserve-root' flag which is for
> protecting the root folder, but in my opinion it is not valid as it is not
> clear enough to new users to rm, the terminal and unix-like systems in
> general
>
> I am suggesting a much more clear alternative to this problem
> --yes-i-want-to-delete-my-entire-system
> instead of
> --no-preserve-root
That is a bit too verbose, in my opinion. I certainly wouldn't remember
how to invoke it without something like the bash completions.
The --help output describes the option for new users:
--no-preserve-root do not treat '/' specially
--preserve-root[=all] do not remove '/' (default);
with 'all', reject any command line argument
on a separate device from its parent
Collin