Linux "batch" equivalent?
I'm a Linux-noob and am almost embarrassed to ask this. I've been playing around with various Live CDs and always start my session with a series of commands to set the IP address, DNS, DG and a few other things. I know that I can use DHCP but I like to use static addresses. I know that I can create a batch file in Windows to replicate a series of commands at the command prompt, but is there anything similar in Linux? If so, I'd plan to create the file and save it either to a flash drive or on the hard drive of the laptop upon which I'm running the Live CD so it would be easy to pick up at the beginning of the session, run it, and my configuration would be set.
If this isn't possible, I guess I could copy/paste the commands from a text file to set the configuration that I want.
As I say, I'm :o to ask such a low level question.