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
Line 9: | Line 9: | ||
[[Concatenate]] lines: | [[Concatenate]] lines: | ||
* <code>[[cat]] file | [[xargs]]</code> | * <code>[[cat]] file | [[xargs]]</code> | ||
+ | |||
+ | echo "your text "| xargs -I {} [[osascript -e]] 'display notification "{}" sound name "submarine" | ||
== Related terms == | == Related terms == |
Revision as of 09:48, 3 September 2022
Examples
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"
Related terms
See also
Advertising: