All commands
xargs
Topic: Searching
Program: xargs
Turns its input into arguments for a command.
Package: find-xargs
Usage
xargs [OPTION]... [COMMAND [ARG]...]
Description
Read words from standard input and run COMMAND (echo if none is given) with ARGs followed by those words, as often as needed. Words are separated by spaces and newlines; quotes and a backslash keep them together.
Options in the simulator
-
-0, --null split the input at null bytes, quotes and backslashes are plain characters -
-a, --arg-file=FILE read the arguments from FILE; the command keeps standard input -
-d, --delimiter=CHAR split the input at CHAR (\n, \t, \0 work too), no quotes -
-I TEXT run once per input line, with TEXT in the command replaced by the line -
-L, --max-lines=N use at most N non-empty input lines per command -
-n, --max-args=N use at most N arguments per command -
-P, --max-procs=N run one command at a time (only N = 1) -
-r, --no-run-if-empty do not run the command when the input has no arguments -
-t, --verbose show each command on standard error before it runs -
--help show this help and exit
13 more options of the real program, not in the simulator yet
-
-E needs a value not in the simulator yet Explanation to come
-
-e not in the simulator yet Explanation to come
-
--eof value optional not in the simulator yet Explanation to come
-
-i not in the simulator yet Explanation to come
-
--replace value optional not in the simulator yet Explanation to come
-
-l value optional not in the simulator yet Explanation to come
-
-o, --open-tty not in the simulator yet Explanation to come
-
-p, --interactive not in the simulator yet Explanation to come
-
--process-slot-var needs a value not in the simulator yet Explanation to come
-
-s, --max-chars needs a value not in the simulator yet Explanation to come
-
--show-limits not in the simulator yet Explanation to come
-
-x, --exit not in the simulator yet Explanation to come
-
--version not in the simulator yet Explanation to come
Where you learn it
Lessons
All commands