RM(1) RM(1) rm - rm []... []... GNU rm. rm . . -I --interactive=once -r -R --recursive rm . . -f --force -i --interactive=always rm . . () (). -f, --force -i -I -i --interactive[=WHEN] WHEN: (never) (-I) (-i) WHEN --one-file-system --no-preserve-root '/' --preserve-root[=all] '/' () 'all' -r, -R, --recursive -d, --dir -v, --verbose --help --version rm . --recursive ( -r -R) . '.' '..' . '-' '-foo' : rm -- -foo rm ./-foo rm / . shred(1). . . : bug-coreutils@gnu.org GNU coreutils : : (C) 2026 (Free Software Foundation, Inc.). GPLv3+: GNU GPL 3 . . : . . unlink(1), unlink(2), chattr(1), shred(1) : info '(coreutils) rm invocation' 3 . . : . GNU coreutils 9.11 2026 RM(1)