Linux & Shell · Command
rm
rm removes named files. Use -r for directories and their contents, and use interactive options when you want confirmation.
Last updated
Syntax
rm [OPTION]... [FILE]...In-depth API docs are only for subscribers: parameters, examples, common mistakes and interview practice.
SubscribeRelated
unlink(1)unlink(2)rmdir(2)chattr(1)shred(1)