LoginSignup
7
5

More than 5 years have passed since last update.

rm -fr / を実行してみた

Posted at

OSインストールし直す前にちょっとどうなるかやってみた。

# rm -fr /
rm: it is dangerous to operate recursively on ‘/’
rm: use --no-preserve-root to override this failsafe

オプションつけないと実行できないみたい。
ちゃんとガードかかってるんだと感心。

オプションつけて逝ってみる。

# rm -fr --no-preserve-root /
...

実行できた。

7
5
1

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
7
5