Librenix
Headlines | Linux | Apps | Coding | BSD | Admin | News
Information for Linux System Administration 

xargs for Sysadmins

Up
vote
Down

A command for managing arguments to other commands...
xargs is your friend. Using xargs, you can pull off feats of greatness and not have to write a script to do it. xargs can take care of things right on the command line. Though I focus mainly on files in this article (it's what I use it for almost exclusively), it's important to remember that xargs acts on standard input, which could mean lines redirected from /var/log/messages or urls or whatever else you can manage to point in its direction.
 read more | mail this link | score:7612 | -Ray, April 15, 2004
More Sysadmin articles...

Buy Fine Art Prints Online

admin headlines

Testing the Digital Ocean $5 Cloud Servers with an MMORPG

Gluster 3.4.2 on Two Node Controller+Compute Neutron GRE+OVS Fedora 20 Cluster

Running ownCloud 5.0 On Nginx (LEMP) On Debian Wheezy

Running SilverStripe On Nginx (LEMP) On Debian Wheezy/Ubuntu 13.04

 

Firefox sidebar

Site map

Site info

News feed

Features

Login
(to post)

Search

 
Articles are owned by their authors.   © 2000-2012 Ray Yeargin