Click to See Complete Forum and Search --> : how to create a script ?


sandwichs
08-28-2001, 09:47 AM
I was reading the help files (howto's) and it says "create a script".... how do I do that? and where should I type it? is it like a note pad file or is it just some typing in a directory?

The Ghost Of Ille Pugil
08-28-2001, 09:55 AM
You can create a "script" in any editor, be it joe, gedit, pico, vi, et cetera. As to what the code should look like, that depends on the language.

sandwichs
08-28-2001, 10:00 AM
well.... I'm trying to "install" ipchains and masquerade.

The Ghost Of Ille Pugil
08-28-2001, 10:23 AM
okay so that's just a bash script. (most likely). that'd be like a batch file in windows. Just type in the commands you want processed in order, 1 command per line and save it. Then chmod +x the command and you're ready to go.