I’m looking for a unix shell command to append the contents of a file as the parameters of another shell command. For example:
command << commandArguments.txt
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
xargs was built specifically for this:
If you have multiple lines in the file, you can use
xargs -L1 -P10to run ten copies of your command at a time, in parallel.