Saturday, December 21, 2024
HomeUNIXFind and delete all core files

Find and delete all core files

Locate and remove all core files in system using the find command.

find / -name core -exec rm {} \;

The find command replaces the {} characters in the command above with the filenames that it finds. You must include the \ immediately before the ; character.

See the comments for a more advanced method of accomplishing this.

Quinn McHenry
Quinn McHenry
Quinn was one of the original co-founders of Tech-Recipes. He is currently crafting iOS applications as a senior developer at Small Planet Digital in Brooklyn, New York.
RELATED ARTICLES

LEAVE A REPLY

Please enter your comment!
Please enter your name here

Most Popular

LATEST REVIEWS

Recent Comments

error: Content is protected !!