Tag Archives: find command

How to delete all files of a directory in Linux?

How to delete all files of a directory in Linux?

To delete all files of a directory in Linux there are 2 methods available. Suppose you want to delete all files of the directory dirname whose path is /home/usr/dirname then…