On Saturday 25 April 2009 12:57 pm, Kurian Thayil wrote: > Hi All, > > Planning to give a small demo on BASH scripting in a LUG community. > Audience will be school teachers and basic home users and thus are > beginners. Thinking on how to present simple and some example scripts that > will make them more interesting and love command line. Need some > suggestions. > > Its always difficult to think simple and easy. :-) So I've quite confused > here on how and what to present. Any help????? > > Regards, > > Kurian Thayil. You ask a lot!!! Love the CL????? How about a side by side comparison for copying a set of pictures from a memory chip to a folder? IMO, you are not going to create CL converts. The best you can hope for is that folks will be able to use the CL as another tool. The CL really shines with complex tasks, and this is where people's eyes glaze over. For example, I convert a directory of .wav files to .mp3 files on a regular basis. I use "lame" to do it and the command for a single file is really simple. I've attached "autolame" (A script which I downloaded and did a little customizing on) which nicely automates the task. Take a look. Imagine trying to teach the ins and outs of that script! Also there is a "bash scripting guide" out there on the net. Mark
Attachment:
autolame
Description: application/shellscript