|
Programming C, bash, Python, Perl, PHP, Java, you name it. |
|
Thread Tools | Display Modes |
|
|||
Good Bash/Scripting book?
Can someone suggest a good scripting book? I've looked over the FreeBSD site, but couldn't find anything on scripting. A book with lots of examples would be nice.
|
|
||||
http://tldp.org/LDP/abs/html/
That should cover everything you need for Bash and derivative shells. It's actually a textbook recommend for a course, available freely. There is a pdf version available for free. I've gotten through the first ten chappters, and it's very well written with tons of examples.
__________________
"UNIX is basically a simple operating system, but you have to be a genius to understand the simplicity." MacBook Pro (Darwin 9), iMac (Darwin 9), iPod Touch (Darwin 9), Dell Optiplex GX620 (FreeBSD 7.1-STABLE) |
|
|||
Exactly what I was looking for. Thanks!
|
|
|||
Quote:
|
|
||||
Also check Shell Scripting Primer from Apple:
http://developer.apple.com/documenta...section_1.html You may also check this script for advanced script example: http://toya.net.pl/~vermaden/text/vergallery.sh
__________________
religions, worst damnation of mankind "If 386BSD had been available when I started on Linux, Linux would probably never had happened." Linus Torvalds Linux is not UNIX! Face it! It is not an insult. It is fact: GNU is a recursive acronym for “GNU's Not UNIX”. vermaden's: links resources deviantart spreadbsd |
|
||||
I have a page with a few links, most of which I like better than the ldp ones.
http://home.nyc.rr.com/computertaiju...scripting.html As for books, the Sams Teach Yourself Shell Scripting in 24 hours is not bad as well as the Unix Shell Programming (3rd edition--the 4th edition is by someone else and apparently not as good). The 3rd edition is here http://www.amazon.com/Unix-Shell-Pro...8713405&sr=8-3 |
|
|||
You may find some value in another online tutorial: http://steve-parker.org/sh/sh.shtml Enjoy. |
|
|||
There is a review of a Bash Cookbook at Slashdot: http://books.slashdot.org/books/08/08/13/137246.shtml
I learnt a lot of my scripting by studying the FreeBSD and OpenBSD rc start up scripts.
__________________
You don't need to be a genius to debug a pf.conf firewall ruleset, you just need the guts to run tcpdump |
|
||||
I like look at this page while I'm searching for good books.
https://www.netbsd.org/docs/books.html I'm reading this one: UNIX. Programming. Environment But, really I recommend you this one Mastering Unix Shell scripting https://fisnikd.files.wordpress.com/...-scripting.pdf Mastering Unix Shell scripting is a good book. Fully recommended |
|
|||
I know it's ksh not bash, but I really enjoyed this book:
https://www.amazon.com/KornShell-Pro.../dp/020156324X |
|
||||
I also found the zsh user guide quite good, in spite of not being finished and not being updated in a while.
http://zsh.sourceforge.net/Guide/ |
Tags |
bash |
Thread Tools | |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Shell scripting resources | J65nko | Programming | 0 | 23rd December 2008 09:57 PM |
Shell Scripting with BSD | chavez243 | Programming | 9 | 3rd December 2008 03:03 AM |
ports config and makefile scripting | boincv | FreeBSD Ports and Packages | 6 | 1st October 2008 07:57 AM |
Changing shell to bash | rex | FreeBSD General | 13 | 29th August 2008 03:20 AM |
Is bash included in OpenBSD? | bsdnewbie999 | OpenBSD General | 21 | 2nd August 2008 02:57 AM |