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:7321 | -Ray, April 15, 2004
More Sysadmin articles...

Beautiful Abstract Art Prints

admin headlines

Step By Step Ubuntu 13.04 (Raring Ringtail) LAMP Server Setup

High Performance Linux Router with LMS Web Panel and Radius Server

Installing Nginx, PHP5, PHP-FPM, MySQL on Debian 7

Upgrade OpenSUSE 12.2 to 12.3

Tutorial: Run Contao 3.x on Nginx on Debian 7/Ubuntu 12.10

GlusterFS Tutorial: automatic file replication on 2 servers (Ubuntu 12.10)

 

Firefox sidebar

Site map

Site info

News feed

Features

Login
(to post)

Search

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