PDA

View Full Version : shell scripts help please



deathbyswiftwind
April 22nd, 2006, 02:09 AM
Hi I just bought the book wicked cool shell scripts and I need some help. What all do I need to download to write these shell scripts?

unbuntu
April 22nd, 2006, 02:26 AM
It depends on what shell your book is dedicated to. Normally bash. If so, you don't have to download anything because bash is the default shell for ubuntu.

mostwanted
April 22nd, 2006, 12:41 PM
Hi I just bought the book wicked cool shell scripts and I need some help. What all do I need to download to write these shell scripts?

Scripta are made up of text. You just open Gedit or Kate and start typing, save it and make it an executable.

IYY
April 22nd, 2006, 07:08 PM
Ubuntu has the most common shells installed by default (bash, sh). Look at the scripts in the book: the first line of each would be #!/bin/shellname

Where shellname is the name of the shell used. If it's not installed by default, you can get it by

sudo apt-get install shellname