How can I pass all arguments with xargs in middle of command in linux August 5, 2023 by Tarik Use -I option: echo prefix | xargs -I % echo % post Output: prefix post