shell scripting gurus?
Marco Catunda
marco.catunda at gmail.com
Thu Jun 5 16:42:37 UTC 2008
for i in `cat <file>` ; do echo $i ; done
replace "echo" command whatever you want.
On Thu, Jun 5, 2008 at 12:07 PM, Bart Silverstrim
<bsilver at chrononomicon.com> wrote:
> If I have a file of IP addresses, one per line, is there an easy way to
> have a shell script read each line and perform an operation that plugs
> that IP into another command?
>
> --
> ubuntu-users mailing list
> ubuntu-users at lists.ubuntu.com
> Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
>
--
--
Marco Catunda
More information about the ubuntu-users
mailing list