Difference between revisions of "Xargs"
Jump to navigation
Jump to search
↑ https://unix.stackexchange.com/questions/300095/how-do-i-get-xargs-to-show-me-the-command-lines-its-generating-without-running
(2 intermediate revisions by one other user not shown) | |||
Line 1: | Line 1: | ||
{{lowercase}} | {{lowercase}} | ||
[[wikipedia:xargs]] | [[wikipedia:xargs]] | ||
+ | * https://man7.org/linux/man-pages/man1/xargs.1.html | ||
== Examples == | == Examples == | ||
Line 11: | Line 12: | ||
echo "your text "| xargs -I {} [[osascript -e]] 'display notification "{}" sound name "submarine" | echo "your text "| xargs -I {} [[osascript -e]] 'display notification "{}" sound name "submarine" | ||
+ | -I replace_string | ||
== Related terms == | == Related terms == |
Latest revision as of 10:14, 4 February 2023
Examples[edit]
echo 8.8.8.8 | xargs -t -n1 geoiplookup
[1]
find | xargs -n1 xz -v
Concatenate lines:
echo "your text "| xargs -I {} osascript -e 'display notification "{}" sound name "submarine" -I replace_string
Related terms[edit]
See also[edit]
Advertising: