separate with a semi-colon ;

/sbin/ipchains -N table;/sbin/ipchains -I input -j table;/sbin/ipchains -I
output -j table;/sbin/ipchains -A table -s 127.00.00.1/255.255.255.255 -p
all;/sbin/ipchains -A table -d 127.00.00.1/255.255.255.255 -p all


----- Original Message -----
From: "Ben Kennish" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, October 03, 2001 4:35 PM
Subject: How to do stuff in batch on the VS


> Dear all,
>
> What is the recommended way of running multiple commands on a VS when
> your list of commands is on the hosting server.
>
> For example,
>
> I've tried using...
>
> bevs -r krusty < /etc/commands.sh
> cat /etc/commands.sh | bevs -r krusty
>
> but both of these give strange results.
>
> However,
>
> cat /etc/commands.sh | chroot /home/vsd/vs/krusty
>
> seems OK.  Could a "-f (filename)" option be added to bevs that executes
> the list of commands held in (filename) on the VS and then exits?  This
> would seem a lot nicer.
>
> Thanks in advance,
>
>
>
> Ben Kennish
> [EMAIL PROTECTED]
> www.fubra.com
>
> ------------------------- The freeVSD Support
List --------------------------
> Subscribe:   mailto:[EMAIL PROTECTED]?body=subscribe%20freevsd-support
> Unsubscribe:
mailto:[EMAIL PROTECTED]?body=unsubscribe%20freevsd-support
> Archives:    http://freevsd.org/support/mail-archives/freevsd-support
> --------------------------------------------------------------------------
---
>

------------------------- The freeVSD Support List --------------------------
Subscribe:   mailto:[EMAIL PROTECTED]?body=subscribe%20freevsd-support
Unsubscribe: mailto:[EMAIL PROTECTED]?body=unsubscribe%20freevsd-support
Archives:    http://freevsd.org/support/mail-archives/freevsd-support
-----------------------------------------------------------------------------

Reply via email to