How to delete a file or folder via SSH | Delete command in SSH

Log into SSH and then just type the following command to delete the folder or file

rm -r -f /directory or filename

rm= remove or delete
-r = recursively delete the folder including sub folders in it,
-f = will not ask for confirmation for deleting the file or directory


About Me

My Photo
NiRaJ (asp or php)!!!!!!
I am basically a software engineer and Website designer & developer (final year student)
View my complete profile


WooThemes - Made by Designers