RM Command

HSI Version: 

All

Purpose: 

Remove files

Aliases: 

ERASE, DELETE

Command Format: 

{rm | erase | del[ete] } [-i] [-R] path ...

Options: 

-i : interactively confirm each deletion (regardless of current "prompt" setting

-R : [standard option] recursively remove files and subdirectories in the specified path(s)

Keywords: 

 

Usage Notes: 

 

Example: 

rm -i file1

Related Command(s): 

RMDIR