% Week 11 Notes for CST8207 - Fall 2012 % Ian! D. Allen - idallen@idallen.ca - www.idallen.com % Fall 2012 - September to December 2012 - Updated Wed Nov 14 20:22:34 EST 2012 Readings, Assignments, Labs, and ToDo ===================================== - Read (at least) these things (All The Words): - [Week 11 Notes HTML] - This File - ** Read All The Words ** - [Linux Partitions PDF] - [Unix/Linux Partitions and File Systems - fdisk, mkfs, mount, swap] - [Creating a VMware Virtual Disk PDF] - [List of Commands] - Read (All The Words), Do, and then Submit via Blackboard: - [Assignment #10] is part of [Lab Worksheet #10 ODT] - [Assignment #10] is part of [Lab Worksheet #10 PDF] - [Assignment #11] is another BONUS assignment. - [Assignment #12] is part of [Lab Worksheet #12 ODT] - [Assignment #12] is part of [Lab Worksheet #12 PDF] - Write down the dates of your Final Exams from the [Course Home Page]. - **READ ALL THE WORDS** Final Exam Schedule is Posted ============================= Your Final Exam schedule is posted in the ICT office and on the [Course Home Page]. Lecture Notes for This Week =========================== - Review last week. Did you do everything assigned last week? From the Class Notes link on the Course Home Page ------------------------------------------------- - [Week 11 Notes HTML] - This File - ** Read All The Words ** - [Linux Partitions PDF] - [Unix/Linux Partitions and File Systems - fdisk, mkfs, mount, swap] - [Creating a VMware Virtual Disk PDF] - [List of Commands] From the Classroom Whiteboard/Chalkboard ---------------------------------------- - [Edit File Recovery in VIM] ### Data Mining - Examples of Pipes - See 3.3 Examples of simple pipes in [Unix Shell I/O Redirection (including Pipes)] - Display only lines 6-10 of the password file - Display only the second-last line of the password file - Which five files in current directory are largest - Display practice test and weekly file dates from the [Class Notes] - Display the dates of the Midterm tests from the Home Page - Display current Ottawa weather temperature and forecast - Display Ottawa tomorrow weather forecast - Display the first top story from the BBC - Display the current BBC weather for Vancouver - Display the current Space Weather forecast for Canada - Display the current phase of the Moon - shell scripts - save your common command pipelines for re-use ### Your in-class notes go here - take notes in class! Real Sysadmin Work ================== - Solving Assignment 7 (any of the three parts) In One Line (Advanced): - **`find foo -type f -printf '%i\n' | xargs -L1 -I'{}' find . -inum '{}' -delete`** - Modern versions of **`find`** have a **`-delete`** option that replaces the old way of doing it: **`-exec rm -f {} \;`** - [IMG: Linux naming for more than 26 hard disks] - [Submit bug reports] Phishing Scam in “Scotland” --------------------------- - -- | Ian! D. Allen - idallen@idallen.ca - Ottawa, Ontario, Canada | Home Page: http://idallen.com/ Contact Improv: http://contactimprov.ca/ | College professor (Free/Libre GNU+Linux) at: http://teaching.idallen.com/ | Defend digital freedom: http://eff.org/ and have fun: http://fools.ca/ [Plain Text] - plain text version of this page in [Pandoc Markdown] format [Linux Partitions PDF]: 700_Linux-Partitions.pdf [Unix/Linux Partitions and File Systems - fdisk, mkfs, mount, swap]: 720_partitions_and_file_systems.html [Creating a VMware Virtual Disk PDF]: 710_create_vmware_disk.pdf [List of Commands]: 900_unix_command_list.txt [Lab Worksheet #10 ODT]: worksheet10.odt [Lab Worksheet #10 PDF]: worksheet10.pdf [Lab Worksheet #12 ODT]: worksheet12.odt [Lab Worksheet #12 PDF]: worksheet12.pdf [Edit File Recovery in VIM]: http://vimdoc.sourceforge.net/htmldoc/usr_11.html [Unix Shell I/O Redirection (including Pipes)]: 200_redirection.html [Class Notes]: indexcgi.cgi [IMG: Linux naming for more than 26 hard disks]: data/linux_29_hard_disks.png [Submit bug reports]: https://bugs.launchpad.net/bugs/806749 [Plain Text]: week11notes.txt [Pandoc Markdown]: http://johnmacfarlane.net/pandoc/