Click to See Complete Forum and Search --> : Bash Shell srcipts


Gogeta_44
05-15-2004, 10:18 PM
Im very new to shell scripts and I need to write one that will:
1. edit a few system files
2. uninstall and reistall cups
3. install several programs with pkgtool.
4. create several users and groups
5. copy several files/folders into a created user account
6. make soft links
I need to make the script so that i can reinstall slackware faster. Again, im very new to shell scripts and i'v never actually written one before. Im not asking for someone to tell me exactly how to write it i just need someone to tell me a good guide that covers what i need.
Thanks!

WayStar
05-15-2004, 11:54 PM
Here's a great place to start, Advanced Bash Scripting Guide (http://www.ibiblio.org/pub/Linux/docs/linux-doc-project/abs-guide/abs-guide.pdf) .

-Waylena

Dark Ninja
05-15-2004, 11:55 PM
This is where I learned:

Basic BASH - http://www.tldp.org/LDP/Bash-Beginners-Guide/html/index.html
Advanced BASH - http://www.tldp.org/LDP/abs/html/index.html


Good luck!