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

0 comments:

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

Woooo

WooThemes - Made by Designers