July 6, 2021 . 1 MIN READ
How do I delete all files and folders stored in /home/jerry/movies directories under Linux operating systems?
You need to the rm command.
Open a terminal or shell (bash) prompt and type the following command to delete everything in /home/jerry/movies
cd /home/jerry/movies
pwd
rm -rf *
OR you can use the following single command:
rm -rf /home/jerry/movies/