Linux / UNIX: How To Empty Directory

Originally published at: https://www.cyberciti.biz/faq/howto-empty-linux-unix-directory-delete-all-files/

How do I empty a directory (delete all files) under Linux / Unix without deleting directory itself?


Linux sysadmin blog - Linux/Unix Howtos and Tutorials - Linux bash shell scripting wiki