Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

xargs multiple commands "mac"

echo 123 | xargs -I {} sh -c 'echo command1 {}; echo command2 {}; echo command3 {};'
 
PREVIOUS NEXT
Tagged: #xargs #multiple #commands
ADD COMMENT
Topic
Name
3+3 =