Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 24 May 2002 13:32:14 -0700 (PDT)
From:      Vinod <geekvinod@yahoo.com>
To:        freebsd-newbies@freebsd.org
Cc:        freebsd-net@freebsd.org
Subject:   setting up batch files
Message-ID:  <20020524203214.30158.qmail@web21101.mail.yahoo.com>

next in thread | raw e-mail | index | archive | help
whats the best way to execute a series of commands in
freebsd?something like a batch file in MS-DOS.

suppose i want to execute the two commands,
defaultrouter="a.b.c.d"
ifconfig_eth0="inet e.f.g.h netmask e.f.g.h"
by typing something like 'change' on the terminal
window;howdo i go about this?
note these two commands are set in /etc/rc.conf and i
want to execute the changes through a batch sort of
file.
Thanks in advance,
vinod

__________________________________________________
Do You Yahoo!?
LAUNCH - Your Yahoo! Music Experience
http://launch.yahoo.com

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-net" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020524203214.30158.qmail>