bash Tricks

| | TrackBacks (0)

bash Tricks From the Developers of the O'Reilly Network
Go read this article, a few pointers, and fun.

For Loops

We've got a cluster of machines that we'll sometimes need to loop through. Here's an example from our admins that checks uptime across our cluster.

$ for s in `cat server.list`; do ssh $s uptime; done;

0 TrackBacks

Listed below are links to blogs that reference this entry: bash Tricks.

TrackBack URL for this entry: http://kennethhunt.com/mt/mt-tb.cgi/1373

About this Entry

This page contains a single entry by klsh published on April 26, 2005 9:51 AM.

Tyan Tomcat K8E review (S2865AG2NRF) was the previous entry in this blog.

ajax: a new approach to web applications is the next entry in this blog.

Find recent content on the main index or look in the archives to find all content.