this command is used to remove or delete a file in linux system.this command also provide a option like -f ,-i and more option available in command,the following example and discription of rm command.
$rm [file_name]
$rm file1
Sr.No |
Options |
Description |
---|---|---|
01 |
-f |
Ignore nonexistent file and do not prompt. |
02 |
-help |
Display available option. |
03 |
-i |
Prompt before removal. |