XARGS(1) General Commands Manual XARGS(1) xargs - xargs [options] [command [initial-arguments]] GNU xargs. xargs ( ) command ( echo ) initial-arguments . . command ( -n -L). command . command . . -P. Unix / xargs. -0 . xargs (null) . GNU find -print0 . 255 xargs . stderr . -0, --null ( ). . . GNU find -print0 . -a file, --arg-file=file file . stdin . stdin /dev/null. --delimiter=delim, -d delim . C \n . printf. . . -d . --null . -E eof-str eof-str. . -E -e . -e[eof-str], --eof[=eof-str] -E. -E POSIX . eof-str . -E -e . -I replace-str replace-str initial-arguments . . -x -L 1. -i[replace-str], --replace[=replace-str] -Ireplace-str replace-str. replace-str -I{}. -i -I . -L max-lines max-lines . . -x. -l[max-lines], --max-lines[=max-lines] -L. -L max-lines . max-lines . -l POSIX -L . -n max-args, --max-args=max-args max-args . max-args ( -s) -x xargs. -P max-procs, --max-procs=max-procs max-procs 1. max-procs 0 xargs . -n -L -P exec . xargs SIGUSR1 SIGUSR2 . ( --show-limits). 1. xargs . xargs ( BUGS). -P xargs SIGUSR1 SIGUSR2 ( xargs). . stdout ( ) . . . ( ). -o, --open-tty stdin /dev/tty . xargs . -p, --interactive . `y' `Y'. -t. --process-slot-var=name name . . . -r, --no-run-if-empty . . GNU. -s max-chars, --max-chars=max-chars max-chars . exec 2048 \[u0628] " ". 128 \[u0643] 128 \[u0643] . (1 KiB) 1024 . xargs . --show-limits xargs -s. /dev/null ( --no-run-if-empty) xargs . -t, --verbose . -x, --exit ( -s). -- . -. xargs -- --help --help ( PATH) xargs -- --mycommand --mycommand . --help xargs . --version xargs . --max-lines (-L -l) --replace (-I -i) --max-args (-n) . xargs ( ) . xargs stderr. max-args 1 ('-n1') --replace -I -i . find /tmp -name core -type f -print | xargs /bin/rm -f core /tmp . . find /tmp -name core -type f -print0 | xargs -0 /bin/rm -f core /tmp . find /tmp -depth -name core -type f -delete core /tmp ( fork(2) exec(2) rm xargs ). cut -d: -f1 < /etc/passwd | sort | xargs echo . xargs : 0 123 1-125 124 255 125 126 127 1 . 128 . GNU xargs 4.2.9 xargs . POSIX (IEEE Std 1003.1 2004) . -l -i 1997 POSIX 2004 . -L -I . -o POSIX BSD. POSIX exec. 4096 . . . --show-limits . xargs 4.9.0 () SIGUSR1 SIGUSR2 xargs -P. Herb Gellis xargs Bell. Texinfo findutils Finding Files . xargs xargs. xargs . "Security Considerations" findutils Texinfo. -execdir find . -I . xargs -I. -s xargs xargs . : somecommand | xargs -s 50000 echo | xargs -I '{}' -s 100000 rm '{}' xargs -i. xargs . . -i BUGS. find(1) . xargs 4.9.0 () xargs -P 255. GNU findutils : GNU Savannah: GNU findutils bug-findutils: (C) 1990-2024 . GPLv3+: 3 . : . . find(1), kill(1), locate(1), updatedb(1), fork(2), execvp(3), locatedb(5), signal(7) : info xargs 3 . . : . XARGS(1)