rm-rf0.com - The rm Command | Linux Journal

Example domain paragraphs

The rm command is probably one of the first commands you learned. Here we look at some options that may save you a lot of time. Before we get into the details, some words of warning. In the Unix tradition, Linux does not ask unnecessary questions. If you tell it to remove a file or a set of files, it will do just that. If you want it to ask you for confirmation, you will need to ask it to do that.

The basic syntax of rm is:

rm [options] filenames The options must start with a - . One or more filenames can be specified, and wildcards are permitted (because the shell, not rm , expands them).