Showing posts with label bash. Show all posts
Showing posts with label bash. Show all posts

Monday, January 14, 2008

Collection of stupif UNIX tricks

(some people just don't get the silliness of stupif and dumf stuff...)

I'm a user of bash and linux/bsd. YMMV with this stuff.

Copy files to a bunch of boxes:

BOXEN="box1 box2 box3"
for b in $BOXEN
do
scp FILENAME OTHERFILENAME username@${s}:/path
done