Introduction (Bash Newbies)

Revision as of 03:15, 29 September 2008 by Chruck (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

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[edit]


# This is to backup my php site

# Next line begins a "here" document.
/usr/bin/php <<EOF

# or: 
#/usr/bin/php -f interface.php

Another "here" document example[edit]

/usr/bin/php <<junk

NOTE: I do not know PHP, so the example above may be completely incorrect.