Jim's
Tutorials

Spring 2013
course
navigation

Chapter 17 to 19

How would I use wget to download all the *.c files on http://knking.com/books/c2/programs/ ?
Jim: Here's what I use regularly ; I have wgerecur as an alias for this : wget --page-requisites --convert-links --recursive --no-parent

17

Played with locate, and some of finds options; xargs - interesting...

18

Played with gzip/gunzip/zless/zcat and bzip2/bunzip2; used tar with various options - some of the books examples have lots of options and piping, some of which I'd like more practice with/ be able to understand better. Used some ssh and tar for tricky file transportation from csmarlboro.org. Also zip/unzip (only good for interfacing with 'Legacy' systems).
Backed up my source code to csmarlboro.org with rsync.

19

grep and regex's - '^weee[ee!][^p]..$'
Very useful for crossward puzzles, as the book points out: grep -i '^[a-c].t.[rs]$' /usr/share/dict/words
http://cs.marlboro.edu/ courses/ spring2013/jims_tutorials/ cory/ Break_linux
last modified Friday May 3 2013 11:30 am EDT