$ echo cat | grep '[abc]' cat $ echo cat | grep '[bd]' $ grep '^.at$' /usr/share/dict/words Nat Pat Sat bat cat eat fat hat mat oat pat rat sat tat vat $ fgrep 'cat' /usr/share/dict/words | head Alcatraz Alcatraz's Decatur Decatur's Hecate Hecate's Mercator Mercator's Muscat Muscat's $ fgrep -x 'cat' /usr/share/dict/words cat $ fgrep -x 'cat dog' /usr/share/dict/words cat dog $ fgrep -x 'dog cat' /usr/share/dict/words cat dog $ $ ./redirection_check http://www.balug.org/ http://www.balug.org/ 208.113.160.236 200 $ ./redirection_check http://balug.org/ http://balug.org/ 208.113.160.236 301 http://www.balug.org/ $ ./redirection_check http://balug.org/foo/bar/baz/ http://balug.org/foo/bar/baz/ 208.113.160.236 301 http://www.balug.org/foo/bar/baz/ $ ./redirection_check http://www.balug.org/index.htm http://www.balug.org/index.htm 208.113.160.236 301 http://www.balug.org/ $ uptime 21:22:01 up 197 days, 11:26, 19 users, load average: 0.00, 0.00, 0.00 $