# put the output to the end of echo
ls *str* | xargs echo
# put the output between echo and hello
ls *str* | xargs -I {} echo {} hello
Xargs
This post is licensed under CC BY 4.0 by the author.
# put the output to the end of echo
ls *str* | xargs echo
# put the output between echo and hello
ls *str* | xargs -I {} echo {} hello
A new version of content is available.