My knowledge is very limited on Eggdrops and *nix shells.

Here's a couple of you
might find useful.
CAUniversity.orgBroad range of tutorials hereEggHelpThis should be what you're looking for.
Sorry I couldn't be of more help, but others on here would most probably know all about shells.
All the best.
-Andy