University of Alaska Fairbanks
Geophysical Institute

Beyond the Mouse 2010 - The geoscientist's computational chest.

9. Unix Tools II

"Programming is legitimate and necessary academic endeavor."
Donald E. Knuth

ssh, input/output, overview for grep, awk, sed, tr, some examples to look at, run, understand.

Lecture

Unix Tools II

Lab

More funky unix tool and shell games

Examples

Examples are in the slides. The sources for the last three scripts are available as tar.gz or zip archive. I added empty files in the ./data directory and changed the scripts given in the slides slightly according to that. You should be able to run the *.sh scripts and get some output that's close to what was on the slides.

Exercises:

Look at the examples given above and comment them ('#' is the comment sign for shell scripts).

ronni <at> gi <dot> alaska <dot> edu | last changed: Nov 09, 2010