Updated: 2013-05-08 21:01 EDT
Review last week. Did you do everything assigned last week?
Do your Fedora 12 install using Lab Worksheet #07 PDF
Your in-class notes go here.
54%
head -n 10
, find -name foo
, or usermod -d /home/newdir
head -n -v 10
find -name -L foo
usermod -d -m /home/newdir ...
Keep a notebook with a List of Commands in it.
Senior sysadmin one-line solution:
find dir -type f -printf '%i\n' | xargs -L 1 -I'{}' find . -inum '{}' -delete
Finding things that are not symbolic links that have other write permissions:
find dir ! -type l -perm /o+w -ls
ns230365.ovh.net - - [20/Mar/2013:13:42:01 -0400] "GET //index.php?route=../../../../../../../../../../../../../../../../../../../../../../../..//proc/self/environ%0000 HTTP/1.1" 404 - "-" "Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.2) Gecko/20100115 Firefox/3.6"
ns230365.ovh.net - - [20/Mar/2013:13:42:01 -0400] "GET /cst8207/13w/notes//index.php?route=../../../../../../../../../../../../../../../../../../../../../../../..//proc/self/environ%0000 HTTP/1.1" 404 - "-" "Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.2) Gecko/20100115 Firefox/3.6"
ns230365.ovh.net - - [20/Mar/2013:13:42:06 -0400] "GET /cst8207/12f/notes//index.php?route=../../../../../../../../../../../../../../../../../../../../../../../..//proc/self/environ%0000 HTTP/1.1" 404 - "-" "Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.2) Gecko/20100115 Firefox/3.6"
ns230365.ovh.net - - [20/Mar/2013:13:42:23 -0400] "GET //index.php?route=../../../../../../../../../../../../../../../../../../../../../../../..//proc/self/environ%0000 HTTP/1.1" 404 - "-" "Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.2) Gecko/20100115 Firefox/3.6"
ns230365.ovh.net - - [20/Mar/2013:13:42:23 -0400] "GET /cst8207/13w/notes//index.php?route=../../../../../../../../../../../../../../../../../../../../../../../..//proc/self/environ%0000 HTTP/1.1" 404 - "-" "Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.2) Gecko/20100115 Firefox/3.6"
ns230365.ovh.net - - [20/Mar/2013:13:42:27 -0400] "GET /cst8207/12f/notes//index.php?route=../../../../../../../../../../../../../../../../../../../../../../../..//proc/self/environ%0000 HTTP/1.1" 404 - "-" "Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.2) Gecko/20100115 Firefox/3.6"
ns230365.ovh.net - - [20/Mar/2013:13:42:53 -0400] "GET //index.php?route=../../../../../../../../../../../../../../../../../../../../../../../..//proc/self/environ%0000 HTTP/1.1" 404 - "-" "Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.2) Gecko/20100115 Firefox/3.6"
ns230365.ovh.net - - [20/Mar/2013:13:42:53 -0400] "GET /cst8207/13w/notes//index.php?route=../../../../../../../../../../../../../../../../../../../../../../../..//proc/self/environ%0000 HTTP/1.1" 404 - "-" "Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.2) Gecko/20100115 Firefox/3.6"
ns230365.ovh.net - - [20/Mar/2013:13:43:40 -0400] "GET /cst8207/12f/notes//index.php?route=../../../../../../../../../../../../../../../../../../../../../../../..//proc/self/environ%0000 HTTP/1.1" 404 - "-" "Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.2) Gecko/20100115 Firefox/3.6"
ns230365.ovh.net - - [20/Mar/2013:13:50:46 -0400] "GET /cst8129/02f/notes//index.php?route=../../../../../../../../../../../../../../../../../../../../../../../..//proc/self/environ%0000 HTTP/1.1" 404 - "-" "Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.2) Gecko/20100115 Firefox/3.6"
ns230365.ovh.net - - [20/Mar/2013:15:40:12 -0400] "GET //index.php?route=../../../../../../../../../../../../../../../../../../../../../../../..//proc/self/environ%0000 HTTP/1.1" 404 - "-" "Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.2) Gecko/20100115 Firefox/3.6"
ns230365.ovh.net - - [20/Mar/2013:15:40:12 -0400] "GET /cst8207/12f/notes//index.php?route=../../../../../../../../../../../../../../../../../../../../../../../..//proc/self/environ%0000 HTTP/1.1" 404 - "-" "Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.2) Gecko/20100115 Firefox/3.6"