Shell / Commands

xargs

English

Overview

A command that passes standard input's contents as arguments to another command.

Details

A command that converts items received from standard input into arguments and passes them to another command in bulk, often used together with find. To guard against file names containing spaces or newlines, the standard safe pattern pairs find ... -print0 with xargs -0, passing items separated by NUL bytes instead.

More Linux terms