Share your knowledge at the LQ Wiki.
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, 04: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, 04: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,606

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 02:14 AM
shell scripting pcdebb Linux - Newbie 17 11-20-2003 03:49 PM
Shell Scripting Help jester_69 Linux - General 15 11-05-2003 03:52 PM
shell scripting rch Programming 3 06-07-2003 04:10 AM
shell scripting markus1982 Linux - General 2 05-20-2003 07:42 AM > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 10:06 PM.

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
Open Source Consulting | Domain Registration