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

Gallery Wrapped Abstract Art

admin headlines

tutorial: Build a Debian 7 server

Tutorial: Run ActiveCollab 3 on Nginx (LEMP) on Debian 7/Ubuntu 12.10

Tutorial: Install Nginx, PHP5, PHP-FPM, and MySQL on CentOS 6.4

Partimage Tutorial: Create, Restore Partitions

Set up WebDAV and Lighttpd on Debian 6

SAMBA Share Configuration with YaST

 

Firefox sidebar

Site map

Site info

News feed

Features

Login
(to post)

Search

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