xargs

E301356

xargs is a Unix command-line utility that builds and executes command lines from standard input, enabling efficient batch processing of large lists of arguments.

All labels observed (2)

Label Occurrences
GNU xargs 1
xargs canonical 1

How this entity was disambiguated

Statements (67)

Predicate Object
instanceOf Unix command-line utility
command-line tool
standard Unix program
availableOn BSD systems
Linux
Unix
macOS
other POSIX-compliant systems
canBeMadeSafeForFilenamesWith -0 option
canExecute any specified command
category Unix process control utilities
Unix text processing utilities
commonlyUsedWith chmod
chown
cp
find
grep
mv
rm
defaultCommand echo
documentation man page xargs(1)
handlesLimitation system ARG_MAX limit
hasOption --delimiter
--interactive
--max-args
--max-procs
--no-run-if-empty
--null
--verbose
-0
-I
-L
-P
-d
-n
-p
-r
-t
hasPrimaryFunction build command lines from standard input
execute commands using input as arguments
implementation BSD userland
surface form: BSD xargs

xargs self-linksurface differs
surface form: GNU xargs
introducedIn POSIX
surface form: POSIX.1 standard
license varies by implementation
oftenCombinedWith find -print0
partOf GNU Findutils
surface form: GNU findutils package

POSIX utilities
Unix operating system environment
readsFrom newline-separated items
standard input tokens
whitespace-separated items
supportsFeature NUL-delimited input processing
controlling maximum arguments per command
controlling maximum lines per command
interactive confirmation before execution
parallel execution of multiple processes
placeholder substitution
printing commands before execution
supportsInputSource file via redirection
pipe
standard input
tokenizesByDefaultOn whitespace
typicalUseCase avoiding "argument list too long" errors
batch processing of large lists of arguments
parallel execution of commands
processing file lists produced by find
writesTo standard output

How these facts were elicited

Referenced by (2)

Full triples — surface form annotated when it differs from this entity's canonical label.

GNU Findutils component xargs
xargs implementation xargs self-linksurface differs
this entity surface form: GNU xargs