RM(1) RM(1) rm -- rm []... []... GNU rm. rm . , . -I or --interactive=once -r, -R --recursive, rm , / . , . , , -f --force, -i --interactive=always, rm , . , . ( ) (). -f, --force , , -i -I , , ; -i, --interactive[=] : never (), once ( , -I) always (, -i); , --one-file-system , , , --no-preserve-root <> --preserve-root[=all] <> ( ); <>, -r, -R, --recursive -d, --dir -v, --verbose --help --version rm . --recursive (-r -R), . , <<->> (: <<-foo>>), : rm -- -foo rm ./-foo , rm . shred(1), . Paul Rubin, David MacKenzie, Richard M. Stallman Jim Meyering. GNU coreutils: - (C) 2023 Free Software Foundation, Inc. GPLv3+: GNU GPL 3 . : . , , . . unlink(1), unlink(2), chattr(1), shred(1) : info '(coreutils) rm invocation' Yuri Chornoivan ; , GNU General Public License Version 3 . . , , : . GNU coreutils 9.4 2024 RM(1)