rm command is used for removing files or directories in unix.
Syntax of rm Command
rm [- option] [fileName / dirName]
Most Commonly used options are :
• -f Force each file or directory to be removed without prompting for confirmation, regardless of the permissions of the entry.
• -i Write a prompt to standard error requesting confirmation before removing each entry. This option ignores any previous occurrence of the -f option.
Example of rm Command
rm myFile