% CST8207 Week 07 Notes – Search Path, Quoting, File Systems % Ian! D. Allen - - [www.idallen.com] % Winter 2014 - January to April 2014 - Updated Tue Feb 25 13:58:27 EST 2014 Readings, Assignments, Labs, and ToDo ===================================== - Read (at least) these things (All The Words): - [Week 07 Notes HTML] – this file – **Read All The Words** - [Search PATH] - [Quoting] - [Unix/Linux File System - directories, inodes, etc.] - [Hard links and Unix/Linux file system index nodes (inodes)] - [Hard links and Unix file system nodes (inodes)] - [Unix/Linux Disk Usage, Hard Links, Finding Inodes] - [Symbolic Links] - [List of Commands You Should Know] - [Video Tutorials on Lynda.com] - Using your [lynda.com] account, watch [Unix for Mac OS X Users] - **3. Working with Files and Directories** - Naming files 5m 41s - use quotes to surround names with blanks or special characters - **5. Commands and Programs** - The PATH variable 4m 13s - **7. Configuring Your Working Environment 41m 28s** - Setting the PATH variable 6m 10s - using double quotes instead of single quotes Midterm Test #2 ---------------- - All test and exam dates are posted on the [Course Home Page]. - Midterm #2 takes place Wednesday, March 12 in your lecture. - You must read the [Test Instructions] first. - [170 practice Midterm Test #1 questions] are available along with an answer key in the [Class Notes]. See the [Practice Test README] page. - A Quiz on these 170 questions is available on Blackboard. See the [Week 04 Notes HTML] for how quizzes work. - Midterm Test #2 (Wed Mar 12) covers: - anything from the previous midterm test, especially questions that were not answered correctly, plus: - weekly notes, labs, quizzes, and assignments for Weeks 1 through 8 inclusive. - The emphasis is on material covered since the previous test. - Material in [Assignment #06 HTML] is relevant to this test. - Material in [Assignment #07 HTML] is relevant to this test. Assignments and Lab work this week ---------------------------------- Check the due date for each assignment and put a reminder in your agenda, calendar, and digital assistant. The worksheets are available in four formats: Open Office, PDF, HTML, and Text. Only the Open Office format allows you “fill in the blanks” in the worksheet. The PDF format looks good but doesn’t allow you to type into the blanks in the worksheet. The HTML format is crude but useful for quick for viewing and searching online. - Read All The Words, Do, and then Submit via Blackboard: - [Assignment #06 HTML] – Start-Up Files, environment variables, quoting - [Assignment #07 HTML] – search PATH, linking, disk usage - Really do **Read All The Words**. You don’t get a second chance to get it right. ### Optional Bonus Assignments – extra marks - [Assignment #03 HTML] – *Optional* BONUS VIM Text Editor Practice - this is an *optional* worksheet for a BONUS assignment using `vim` - Optional Reading: [The VI (VIM) Text Editor] - [Worksheet #06 HTML] – *Optional* VIM Text Editor Practice - this is an *optional* worksheet for a BONUS assignment using `vim` - Optional command-line VIM tutorial: the `vimtutor` program on the CLS. - [Assignment #05 HTML] – *Optional* BONUS Midterm Assignment - this is an *optional* BONUS assignment reviewing your midterm test - there is a checking script available to verify the format of your file From the Class Notes link on the Course Home Page ================================================= ![VIM User] - Review last week. Did you do everything assigned last week? - See last week for the Midterm Test results. From the Classroom Whiteboard/Chalkboard ======================================== - **Take notes in class!** Your in-class notes would go here. - See last week for the Midterm Test results. Learning the Material --------------------- - You learn the material because you want to be a Computer Systems Technician. - You like doing this work; you want to be good at it. - Review your mistakes on the first midterm test (questions re-appear). - For practice tests and quizzes, see the [Practice Test README] - Review the commands used in each lab worksheet (and their common options). - [Unix/Linux Command List][List of Commands You Should Know] - Review how the shell works: GLOB, redirection, quotes - Know **why** the shell behaves that way. Copy/paste teaches you nothing. - split on semicolons and pipes first, then do redirection - What are the Four Rules for Output Redirection? Three Rules for Pipes? - [Unix Shell I/O Redirection (including Pipes)] Real Sysadmin Work ================== - [*Algonquin College CET Student and Open Source*] - *Currently, I am halfway finished with my three year Computer Engineering Technology/Computer Science course at Algonquin College in Ottawa Ontario Canada. It is a great school, and all IT students learn about Linux as part of the course curriculum. Some instructors promote Linux and open source software in their classrooms, while others demand their students run Windows and use proprietary software.* - *At this point in my open source journey, I have so many ideas for open source projects, and once I complete my training I want to contribute to other ongoing projects like Gnome and Cinnamon GUIs, Adobe Brackets, and Fedora. I feel like a kid in a candy store that is waiting for his allowance so I can spend it all!* - *I am treating my education as if it is open source Jedi training. I can’t wait for my first epic battle to begin. May open source be with you…* - [*Linux job market heats up*] - *77 percent of hiring managers have “hiring Linux talent” on their list of priorities for 2014* - *salary increases over the past year that exceeded the average for technology professionals by more than 2 percentage points* - *they got to work on “interesting projects.”* - *The future is a bright one for professionals who know Linux.* - [*The Linux job market is smokin’ hot!*] - The Linux Foundation and Dice report that Linux professionals are in very high demand in the technology job market. - To retain top talent, 38 percent of hiring managers said they accommodate flexible work schedules or telecommuting and 32 percent pointed to salary increases above the company norm. - [*SSH is the most widely attacked port on the Internet*] - You know this by looking at the `auth.log` file on the CLS. - Being a Computer Systems Technician means you need to know your stuff, or else the crackers will break into your machines. - [*Android is Linux*] ![Take Notes in Class] -- | 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 [www.idallen.com]: http://www.idallen.com/ [Search PATH]: 400_search_path.html [Quoting]: 440_quotes.html [Unix/Linux File System - directories, inodes, etc.]: 450_file_system.html [Hard links and Unix/Linux file system index nodes (inodes)]: 455_links_and_inodes.html [Hard links and Unix file system nodes (inodes)]: 455_links_and_inodesA.html [Unix/Linux Disk Usage, Hard Links, Finding Inodes]: 457_disk_usage.html [Symbolic Links]: 460_symbolic_links.html [List of Commands You Should Know]: 900_unix_command_list.html [Video Tutorials on Lynda.com]: 910_lynda_index.html [lynda.com]: https://lyceum.algonquincollege.com/Lynda [Unix for Mac OS X Users]: http://wwwlyndacom.rap.ocls.ca/Mac-OS-X-10-6-tutorials/Unix-for-Mac-OS-X-Users/78546-2.html [Test Instructions]: 000_test_instructions.html [170 practice Midterm Test #1 questions]: practicetest2.pdf [Practice Test README]: PRACTICE_TEST_README.html [The VI (VIM) Text Editor]: 300_vi_text_editor.html [VIM User]: data/vim_exit.jpg "VIM User" [Unix Shell I/O Redirection (including Pipes)]: 200_redirection.html [*Algonquin College CET Student and Open Source*]: http://opensource.com/life/14/2/may-open-source-be-you [*Linux job market heats up*]: http://www.zdnet.com/linux-job-market-heats-up-7000026504/ [*The Linux job market is smokin’ hot!*]: http://www.itworld.com/open-source/406021/linux-professionals-are-high-demand-in-technology-job-market [*SSH is the most widely attacked port on the Internet*]: https://isc.sans.edu/portreport.html?sort=targets [*Android is Linux*]: http://www.zdnet.com/debunking-four-myths-about-android-google-and-open-source-7000026473/ [Take Notes in Class]: data/remember.jpg "Take Notes in Class" [Plain Text]: week07notes.txt [Pandoc Markdown]: http://johnmacfarlane.net/pandoc/