How to remove a file

SSH Access

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 the index.html file from the current directory 
$ rm -r wp-content/         - removes the wp-content/ directory even if the directory is not empty