Skip to content

find(1) manual page: EXAMPLES — by Linux man-pages project (man7.org)

intermediatepageLink only (©)

The examples section of the find manual shows safe patterns such as NUL-delimited deletion with -print0 and xargs -0, and pruning directories with -prune. Good to read before running find with rm.

Quick steps

  1. find /tmp -name core -type f -print0 | xargs -0 /bin/rm -f

Paraphrased from the source. Menus can differ by version, so check the original for full details.

Read the full article on man7.org

Source: find(1) manual page: EXAMPLES by Linux man-pages project (man7.org). Licence: Link only (©).

Source reviewed
2026-11-02
Link checked
2026-11-02
Tested hands-on
Not by Oddbyte.Me

findxargsshell

More in Linux