This manual page is part of the POSIX Programmer's Manual. The Linux implementation of this interface may differ (consult the corresponding Linux manual page for details of Linux behavior), or the interface may not be implemented on Linux. XARGS(1) General Commands Manual XARGS(1) NAME top xargs build and execute command lines from standard input SYNOPSIS top xargs [options [command [initialarguments DESCRIPTION top This manual page documents the GNU version of xargs.
xargs reads items from the standard input, delimited by blanks (which can be protected with double or single quotes or a backslash) or newlines, and executes the command (default is binecho) one or more times with any initialarguments followed by items read from standard input.
Blank lines on the standard input are ignored. The author is the creator of nixCraft and a seasoned sysadmin, DevOps engineer, and a trainer for the Linux operating systemUnix shell scripting. Get the latest tutorials on SysAdmin, LinuxUnix and open source topics via RSSXML feed or weekly email newsletter.
Linux and Unix xargs command tutorial with examples Tutorial on using xargs, a UNIX and Linux command for building and executing command lines from standard input. Examples of cutting by character, byte position, cutting based on delimiter and how to modify the output delimiter. xargs Unix, Linux Command Manual Pages (Manpages), Learning fundamentals of UNIX and Linux in simple and easy steps: A beginner's tutorial containing complete knowledge of Unix Korn and Bourne Shell and Programming, Utilities, File System, Directories, Memory Management, Special Variables, vi editor, Processes Do try the xargs conceptsfeatures we've explained in this tutorial, and in case of any doubt or query, go through its man page.
About Himanshu Arora Himanshu Arora has been working on Linux since 2007. This manual page documents the GNU version of xargs.
xargs reads items from the standard input, delimited by blanks (which can be protected with double or single Linux Man Pages Linux Man Pages The xargs utility reads space, tab, newline, and endoffile delimited strings from the standard input and executes the specified utility with the strings as arguments. Any arguments specified on the command line are given to the utility upon each invocation, followed by When I need to learn something new, even a small feature of a command that isn't clear to me, I go to the web and search using the best keywords I can think of (e.
g. Linux xargs) and add the word howto, examples, or tutorial. This is very often quite productive.