Skip to content
masterclass Buddy

Linux & Shell · Command

xargs

xargs builds command lines from standard input and runs the command one or more times. It groups input items to stay within command-size limits.

Last updated

Syntax

xargs [ option ...] [ command ] [ initial-argument ...]

In-depth API docs are only for subscribers: parameters, examples, common mistakes and interview practice.

Subscribe
  • find -print0
  • find -exec ... +
  • -0
  • -n
  • -L
  • -P
  • -r
  • -t

Source: xargs(1) - Linux manual page. Checked 2026-11-03.