rm

This command removes a file or all files in a directory. Recovering files that rm has removed is extremely difficult and problematic. Ensure you have good backups before using this command!

$ rm index.html                – removes index.html file from the current directory
$ rm -r wp-content/         – removes wp-content/ directory even if the directory is not empty

About Author

Leave a Reply

Your email address will not be published. Required fields are marked *