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

Buy Digital Art Online

admin headlines

Tutorial: Automated File Replication on 2 Storage Servers with GlusterFS on CentOS 6.3

RAW Devices In VirtualBox

Back up MySQL Databases with mylvmbackup on Debian 6

GlusterFS 3.2.x Tutorial: High-Availability Replicated Storage on Ubuntu 11.10

Install Horde 4 Webmail on Debian 6 Through PEAR

Secure OpenVPN with one time passwords on Ubuntu

 

Firefox sidebar

Site map

Site info

News feed

Features

Login
(to post)

Search

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