bash 1-liners loop through files
Posted by hsin on July 19th, 2008
cat filestodelete.txt | while read line; do rm ${line}; done
for s in `cat server.list`; do ssh $s uptime; done;
Posted by hsin on July 19th, 2008
cat filestodelete.txt | while read line; do rm ${line}; done
for s in `cat server.list`; do ssh $s uptime; done;