|
Remove multiple files with one command: find |
 vote
 |
|
This quickie tutorial shows you how to find and delete files across any directory tree in Linux. Note that this syntax works in most any other Unix-like OS as well.
It's fairly simple to delete core files from your filesystem from[NA2] the command line. Using find[LI3], you can delete every core dump file on a given[NA4] GNU/Linux system by logging on as the superuser root and running the following command:
find / -name core -exec rm -f {} ;
Let's break that command down shall we?
| | |
| |
|
| | read more | mail this link | score:9355 | -Ray, February 4, 2003 (Updated: October 24, 2004) |
| |
|
More Sysadmin articles... |
|
|