% Week 03 Notes for CST8207 - Winter 2012 % Ian! D. Allen - idallen@idallen.ca - www.idallen.com % Winter 2012 - January to April 2012 Midterm Tests ============= Your first midterm test will be in class Friday February 10 in Week 5. * The Midterm Test dates are posted on the [Course Home Page]. * Tests are short answer and multiple choice. * For full mark credit, read the [Test Instructions] for important directions on how to enter your answers on the mark-sense forms. * Each Midterm covers material on the preceding assignments and Weekly Notes, with emphasis on material in the assignments. * Basic calculators are permitted for this test and the final exam but will not be needed. (No phones or PDA devices.) Lecture Notes for This Week =========================== From the Class Notes link on the Course Home Page ------------------------------------------------- * [Test Instructions](000_test_instructions.html) - Important directions on how to enter your answers on the mark-sense forms. * This is [Your Brain on the Internet](005_this_is_your_brain.txt) * [Frequently Asked Questions](007_freqently_asked_questions.html) * [How to report Problems](008_how_to_report_problems.txt) * [Installing VMware Tools](010_vmware_tools.html) * [Why Learn the Unix Shells?](100_why_shell.txt) * [Command Line vs. GUI: Power Users need more than GUI](110_command_line_vs_gui.txt) * [The Unix/Linux Shell](120_shell_basics.html) * [Searching for items in the Unix manual pages (RTFM)](130_man_page_RTFM.txt) * [Options and Arguments on Unix Command Lines](140_arguments_and_options.txt) * [Unix/Linux Pathnames (absolute, relative, dot, dot dot)](150_pathnames.txt) * [Hard links and Unix file system nodes (inodes)](200_links_and_inodes.html) * [Unix/Linux File System - (correct explanation)](210_file_system.txt) * [Directories: ROOT, /root, HOME, /home, and current](220_home_and_HOME.txt) * [Searching for and finding files by name, size, etc.](250_finding_files.txt) * [Unix/Linux Command List (cumulative)](900_unix_command_list.txt) ### Assignments and Labs ### * Finish [Assignment #01] - Multi-tasking and Homework * Finish [Lab #01] - Installing Fedora 12 * Finish [Lab #02] - Using Standard Linux Commands I * Start [Lab #03] - Using Standard Linux Commands II From the Classroom Whiteboard/Chalkboard ---------------------------------------- * Your in-class notes go here. - If you're not taking notes, why am I talking to you? You won't remember anything I say if you don't write some of it down. You won't even remember what the lecture topics were. - Everything has a due date, after which it may not be marked. - You get one chance to get it right. See [Right the First Time](week01notes.html#right-the-first-time) * If you don't act on Announcements when they first appear, set your Blackboard "My Announcements" box to show the past 30 days, so you are reminded of things you should have done weeks ago (e.g. register your clicker). * Check your Blackboard ToDo list for what's due! - only 42/98 lab01.txt uploaded - what went wrong? * A Rap happened last Wednesday. - see the CC [Music](03_Ghosts_I.mp3) and [License](000_Licensing.txt) - send me your Rap video from Wednesday and I'll post it here - you need to distribute it under a Creative Commons license - you can use Dropbox to transfer large files * Train your Brain to Focus (Harvard Business Review): * Improve your Google search skills: ### Topics: Operating Systems, Linux, Shells, and File Systems ### * Questions - define: absolute pathname, relative pathname, basename - how does your home directory differ from /home ? - how does the ROOT directory differ from /root ? - how do you remove a file? an empty directory? a full directory? - what is a GLOB or "wildcard" character used for, e.g. *.txt * Shell Programs (e.g. the Bourne-Again Shell named "bash") - command line editing - [The Unix/Linux Shell](120_shell_basics.html) - how do you interrupt a process? send End-of-File from the keyboard? - how do you erase a line of typing? etc. * Hierarchical File Systems - directories, inodes, and hard links - hidden names start with a dot (period) and "ls" needs "-a" to show them (so directory names . and .. are usually hidden) - the inode data is stored separately from the inode name - you can have multiple file names for the same file data - you **cannot** create multiple names for the same directory (why not?) - [Hard links and Unix file system nodes (inodes)](200_links_and_inodes.html) - [Unix/Linux File System - (correct explanation)](210_file_system.txt) * Commands: [Unix/Linux Command List (cumulative)](900_unix_command_list.txt) - ls ( -l -i -a -d -F ) - grep - see some examples in [Searching for items in the Unix manual pages (RTFM)](130_man_page_RTFM.txt) - mv and cp and ln [Test Instructions]: 000_test_instructions.html [000_README.txt]: 000_README.txt [000_Licensing.txt]: 000_Licensing.txt [005_this_is_your_brain.txt]: 005_this_is_your_brain.txt [007_freqently_asked_questions.html]: 007_freqently_asked_questions.html -- | 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](http://johnmacfarlane.net/pandoc/) format