DelphiFAQ Home Search:
General :: Linux :: shell
Linux shell programming/ scripting, shortcuts and general know-how.


This list is sorted by recent document popularity (not total page views).
New documents will first appear at the bottom.

Featured Article

Recursively delete all files matching a certain pattern


I need to delete all index.html files in a directory and all its subdirectories. How can I do this?


Use find and pipe the output to rm:

find . -type f -name index* -exec rm {} \;

Generated 12:49:50 on Oct 23, 2019