SyntaxFix
Write A Post
Hire A Developer
Questions
You can use
cat file.txt | xargs -i sh -c 'command {} | command2 {} && command3 {}'
{} = variable for each line on the text file