unix scripting
Posted: Thu Apr 14, 2005 1:37 am
I am currently writting a bunch of .sh scripts to automate alot of the crap that I normaly did on the various servers that I work on. I am useing .sh scripts because basicatly that works on all flavors of Unix.
Examples of scripts that I am looking to do or am doing.
Automaticaly backup the servers to remote site cause the admins wont do it.
Parse some logs for various information from each server.
And because I have a unix box set up at home, basicatly everything that is becomeing repetative that I'm getting sick of doing. Truthfully, I want to write a good backup script for my home machine that is specific to my needs.
So, my question is this. Can someone direct me to a good forum on unix shell scripting? And also the more tutorials I have for reference, the better. I have already written the automated ftp script. The logging, I know ill be useing grep and probably awk for. Maybe sed, but.... Errrr, I havent decided what I want to do yet with that issue. But, im looking for more area's that I can use for reference material and examples.
I kind of started the shell scripting to make life easier for myself, and and am enjoying the hell out of myself cause things are working out just how I wanted. So, as I said. Im looking for as many reference's as I can find on the subject. And yes, I buy reference books. So sugestions on reference books would be most appriceated also.
Lol, look at it this way. Most shell scripting requires working with regular expresions. This will give me a chance to get to know them better and more familuar with them. And I won't have to ask stupid questions here when I am setting spam filters.
Thank you in advance for any help you can provide.
Examples of scripts that I am looking to do or am doing.
Automaticaly backup the servers to remote site cause the admins wont do it.
Parse some logs for various information from each server.
And because I have a unix box set up at home, basicatly everything that is becomeing repetative that I'm getting sick of doing. Truthfully, I want to write a good backup script for my home machine that is specific to my needs.
So, my question is this. Can someone direct me to a good forum on unix shell scripting? And also the more tutorials I have for reference, the better. I have already written the automated ftp script. The logging, I know ill be useing grep and probably awk for. Maybe sed, but.... Errrr, I havent decided what I want to do yet with that issue. But, im looking for more area's that I can use for reference material and examples.
I kind of started the shell scripting to make life easier for myself, and and am enjoying the hell out of myself cause things are working out just how I wanted. So, as I said. Im looking for as many reference's as I can find on the subject. And yes, I buy reference books. So sugestions on reference books would be most appriceated also.
Lol, look at it this way. Most shell scripting requires working with regular expresions. This will give me a chance to get to know them better and more familuar with them. And I won't have to ask stupid questions here when I am setting spam filters.
Thank you in advance for any help you can provide.