LinuxAnswers - the LQ Linux tutorial section.
Go Back > Forums > Linux Forums > Linux - General
User Name
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.


  Search this Thread
Old 04-19-2006, 05:21 PM   #1
Registered: Jul 2004
Location: Italy
Distribution: SlackWare 10 - The Best
Posts: 72

Rep: Reputation: 15
teaching shell scripting: cool scripting examples?

Hi everybody,

I'm going to teach on a linux lesson where I will explain how to use bash as scripting language. So I'm looking for some useful scripts to use as example after the teorical lesson. I mean something of useful and cool which should demostrate the power of bash scripting for normal windows users.

I only thinked about resizing a set of images in a folder (e.g. generating thumbnails).

Does someone has other ideas?


Fabio Varesano
Old 04-20-2006, 05:29 AM   #2
Senior Member
Registered: Nov 2004
Distribution: Mandriva mostly, vector 5.1, tried many.Suse gone from HD because bad Novell/Zinblows agreement
Posts: 1,605

Rep: Reputation: 53
look in advanced bash scripting
there is a thread tips (including many one liner bash) somewhere in LQ
sed one liner

any of the service script?
The world is your oyster

Look into bash tutorials (see LQ bookmarks)

I suppose you need a script simple enough yet powerfull,
but then it all depends what your students are interested by...

Feedback on what worked with the Woah! factor would be interesting

grep with some colors

there are tutorials for awk out there with email list management

The question is what will impress your students...


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Shell Scripting: Getting a pid and killing it via a shell script topcat Programming 15 10-28-2007 03:14 AM
shell scripting pcdebb Linux - Newbie 17 11-20-2003 04:49 PM
Shell Scripting Help jester_69 Linux - General 15 11-05-2003 04:52 PM
shell scripting rch Programming 3 06-07-2003 05:10 AM
shell scripting markus1982 Linux - General 2 05-20-2003 08:42 AM

All times are GMT -5. The time now is 07:24 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration