techieNetizen's Web Log
Friday, November 12, 2010
BASH script for reading input line by line from a list file and do a loop command
#! /bin/bash
cat file.lst |while read line; do scp "${line}" host:/directory_location; done
Newer Posts
Older Posts
Home
Subscribe to:
Posts (Atom)