Swiss Army Chainsaws lecture in color

Swiss Army Chainsaws

UNIX Commands

Informal UNIX Command Conventions

From whence come arguments

Some "power tool" commands every administrator must understand

Find

Using find

Interpreting find commands

Shell games

Problem of the day #1

Shell parens and find parens

Problem of the day #2

Find hacks

Exit codes

Test/Command duality

Stupid find trick

awk

Basic awk syntax

Simple awk examples

Pattern matching

Awk Regular expressions

Simple Regular Expression Examples

Why all this trouble?

Using RE's in awk

Problem of the day #3

Tip of the iceberg

Silly but powerful example

Why does this work at all?

Last step: print out summary

Storing awk scripts in files

sed

sed concepts

Simple sed examples

Search and replace

Practical use of sed: reformat input for awk processing

Example: 'fixing' ps -ef timestamps

The story you have just seen is true...

Invariants of User Environment

Variants and other nuisances

Some commands to know

1 2 3 4 5 6 7 8 9 10
apropos at atq atrm awk basename bash bz2unzip bz2zip cancel
cat chgrp chmod chown cmp cp csh cu date dd
df diff dig dos2unix du echo ed ed egrep ex
fgrep file find finger ftp g++ gcc grep gunzip gzip
head join kill ksh less ln lp lpstat mail mailx
make man mkdir more mv netstat nice niscat nismatch nroff
nslookup passwd pine pkill pwd rcp rdate rdist rehash rlogin
rmdir rsh scp sed sh sleep sort spell split ssh
stty sync tail tcsh tip tty uname unix2dos unzip uptime
users vi w wc whatis where who whois write zip

lecture in color

/comp/150NET/notes/chainsaw.php
downloaded on Nov-23-2009 04:59:36 PM,
was last modified on Feb-17-2004 10:47:10 PM.

All lecture note content is copyright 2004 by
Alva L. Couch, Computer Science, Tufts University