Difference between revisions of "Xargs"

From wikieduonline
Jump to navigation Jump to search
 
(12 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<code>echo 8.8.8.8 | xargs -t -n1  [[geoiplookup]]</code><ref>https://unix.stackexchange.com/questions/300095/how-do-i-get-xargs-to-show-me-the-command-lines-its-generating-without-running</ref>
+
{{lowercase}}
 +
[[wikipedia:xargs]]
 +
* https://man7.org/linux/man-pages/man1/xargs.1.html
  
 +
== Examples ==
 +
<code>echo 8.8.8.8 | xargs -t -n1  [[geoiplookup]]</code><ref>https://unix.stackexchange.com/questions/300095/how-do-i-get-xargs-to-show-me-the-command-lines-its-generating-without-running</ref>
 +
 +
[[find]] | xargs -n1 xz -v
 +
 +
[[Concatenate]] lines:
 +
* <code>[[cat]] file | [[xargs]]</code>
 +
 +
echo "your text "| xargs -I {} [[osascript -e]] 'display notification "{}" sound name "submarine"
 +
-I replace_string
 +
 +
== Related terms ==
 +
* <code>[[map]]</code> https://github.com/soveran/map/blob/master/README.md
  
 
== See also ==
 
== See also ==
* [[parallel]]
+
* {{xargs}}
  
  
 
[[Category:Linux commands]]
 
[[Category:Linux commands]]

Latest revision as of 10:14, 4 February 2023

Advertising: