Delete All Files And Folders In Linux

Open a terminal or shell (bash) prompt and type the following command to
delete everything in /home/jerry/movies

cd /home/jerry/moviespwdrm -rf *

OR you can use the following single command:

rm -rf /home/jerry/movies/

Please note that all folders and files including movies will be deleted.
Once deleted you will not able to get back your data. So be careful when
typing rm -rf command.


No comments yet.

Leave a Reply