Learn › Linux Foundations

Arguments

Turning a list of lines into the arguments of a command: what an argument is and why a pipe is not one, xargs, what an empty list does and how -r stops it, batch sizes with -n, the placeholder -I {}, xargs with wc and cp, quoting names that contain a space, the null separated pipeline find -print0 into xargs -0, and parallel runs with -P.

Labs in this module