Introduction (Bash Newbies)
From UCLUG
March 11, 2008 meeting, Podcast number 0009, Bash Shell Scripting for Newbies: Introduction.
This was the first session, so there was a complete lack of preparation on Jās' part, since the idea had just surfaced a couple days prior to this meeting. If you listen to the recording, here are some notes from that session:
Done on the fly.
Example 1: backup.bash
#!/bin/bash # This is to backup my php site # Next line begins a "here" document. /usr/bin/php <<EOF php_stuff ... EOF # or: #/usr/bin/php -f interface.php
Another "here" document example
/usr/bin/php <<junk anything_between junk
NOTE: I do not know PHP, so the example above may be completely incorrect.

