Lazy Hacker Babble
Just some random babbling of a lazy hacker...
Pages
Blog
Programming
Books
Tools
Software
Hardware
Woodworking
Github
Main
Friday, July 18, 2008
bash 1-liners loop through files
cat filestodelete.txt | while read line; do rm ${line}; done
for s in `cat server.list`; do ssh $s uptime; done;
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment