Originally Posted by ankz.upadhyay
Thanks for reply.
is this what you mean by your reply /
rm -Rf filename rod
Please do send confirmation.
rm -Rf <filespec>
rm -Rf /var/www/html/gallery2/*
This will delete recursively without confirmation all files and subdirectories in gallery2, but not gallery2, itself. If you want to delete the directory as well, then
rm -Rf /var/www/html/gallery2