Beyond the Mouse Lecture 8: Unix Tools 2
October 31
Instructor: Jeff Freymueller
x7286 Elvey 413B jfreymueller@alaska.eduTA: Shanshan Li
Last Updated: October 10, 2017
ssh, input/output, overview for grep, awk, sed, tr, some examples to look at, run, understand.
Lecture
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, PLAY WITH THEM, and comment them ('#' is the comment sign for shell scripts). Send in the commented versions before the next lecture.
Dr. Jeffrey T. Freymueller
Professor of Geophysics
Geophysical Institute
University of Alaska, Fairbanks
Fairbanks, AK 99775-7320