% CST8207 Week 02 Notes - command line and the Course Linux Server \[CLS\] % Ian! D. Allen - idallen@idallen.ca - www.idallen.com % Winter 2013 - January to April 2013 - Updated 2013-05-08 21:01 EDT - [Course Home Page] - [Course Outline] - [All Weeks] - [Plain Text] Readings, Assignments, Labs, and ToDo ===================================== - Read (at least) these things (All The Words): - [Week 02 Notes HTML] - this file - ** Read All The Words ** - [Why Learn the Unix Shells?] - [The Unix/Linux Shell] - Video (MP4): [Shells inside Shells - Subshells] - [Finding Help in Manual Pages - RTFM] - [Command Arguments and Options] - [Unix/Linux File System and Pathnames (ROOT, absolute, relative, dot, dot dot] - [Directories: ROOT, /root, HOME, /home, and current] - [Course Linux Server] - [Report Problems] - [List of Commands] - From "Unix for Mac OS X Users" at [lynda.com] - Ch.1. Intro to Unix - Command structure - Ch.1. Intro to Unix - Kernels and shells - Ch.1. Intro to Unix - Unix manual pages - Read (All The Words), Do, and then Submit via Blackboard: - [Assignment #01 HTML] - Multi-tasking and Homework - [Assignment #02 HTML] - [Course Linux Server] - **READ ALL THE WORDS** Errors in submitted assignment01.txt ------------------------------------ As of 1am Thursday January 17 here are the file name upload errors: user xxxxxx96: Bad file name: Assignment01.txt user xxxxxx13: Bad file name: assingment01.txt user xxxxxx40: Bad file name: assignment01.txt.txt user xxxxxx80: Bad file name: assing1xxxxxx80.txt user xxxxxx19: Bad file name: assignment 1.tt These students will only earn half their marks. Are you one of them? **Go to your assignment upload area and check your file name!** From the Class Notes link on the Course Home Page ================================================= - [Course Home Page] - [All Weeks] - Review last week. Did you do everything assigned last week? From the Classroom Whiteboard/Chalkboard ======================================== - Your in-class notes go here. - Alan Watts on doing what you like: - - - First Midterm test date: Thursday February 7 3pm (Week 5) - Take the poll: - See the results: - Second Midterm test date: Thursday March 21 3pm (Week 10) - Take the poll: - See the results: - Navigating Blackboard. - hiding the course menu - configuring dates - Please send me a copy of the [Rap Video] ... Lab work -------- - Spell your file names correctly. See above. - See the draft of [Assignment #02 HTML]. - Never use the userids `abcd0001` or `abcd1234`. These are example userids used in the notes that are meant to be replaced with *your own userid*. If you try repeatedly to log in to the [Course Linux Server] from home using these non-existent userids, your home IP address will be locked out for a day or two. - Incorrect login userid `abcd0001` used into the [Course Linux Server][1] causes IP lock-out: Failed password for invalid user abcd0001 from 74.58.184.3 port 36326 ssh2 refused connect from modemcable003.184-58-74.mc.videotron.ca (74.58.184.3) Notes on GNU and Linux ====================== GNU - Gnu's Not Unix -------------------- - GNU is a Free Software Foundation (FSF) project - rewrote Unix as free (libre) software (the way it started out, pre AT&T) - chief architect: Richard Stallman (original author of EMACS) - the GNU kernel hasn't progressed far (named HURD) - but lots of GNU utilities exist - The late Aaron Swartz on [Software Freedom and Web Applications] - Lawrence Lessig on Aaron Swartz: Linux "distribution" == Linux Kernel + GNU Utilities ---------------------------------------------------- - people took the working Linux kernel originated by Linus Torvalds and added all the Unix-compatible GNU utility software from the FSF - Linux and GNU software is released as "free software" under the General Public License (GPL) that permits free redistribution - "free" as in "libre" or "free speech", not as in "gratuit" or "free beer" FLOSS == Free/Libre Open Source Software - the GPL copyright license is often called "copyleft", since it is designed to *give* you rights and preserve rights, not take them away - When you install Ubuntu, Red Hat, Mandrake, Caldera, Yellow Dog, Yggdrasil, Debian, S.U.S.E., Slackware, etc., you are installing a *distribution* ("distro") of Linux. - you're paying only for the packaging, since Linus Torvalds makes no money from the use of his GPL kernel software - you can redistribute what you receive in a Linux distro for free (unless the distro includes non-GPL software) - the Linux programming API is compatible with the POSIX operating system standard API - source code that compiles for Unix/POSIX will compile on 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 [Course Home Page]: .. [Course Outline]: course_outline.pdf [All Weeks]: indexcgi.cgi [Plain Text]: week02notes.txt [Week 02 Notes HTML]: week02notes.html [Why Learn the Unix Shells?]: 100_why_shell.html [The Unix/Linux Shell]: 120_shell_basics.html [Shells inside Shells - Subshells]: 145_subshells.mp4 [Finding Help in Manual Pages - RTFM]: 140_man_page_RTFM.html [Command Arguments and Options]: 150_arguments_and_options.html [Unix/Linux File System and Pathnames (ROOT, absolute, relative, dot, dot dot]: 160_pathnames.html [Directories: ROOT, /root, HOME, /home, and current]: 170_home_and_HOME.html [Course Linux Server]: 010_course_linux_server.html [Report Problems]: 008_how_to_report_problems.html [List of Commands]: 900_unix_command_list.html [lynda.com]: https://lyceum.algonquincollege.com/Lynda [Assignment #01 HTML]: assignment01.html [Assignment #02 HTML]: assignment02.html [Rap Video]: 000_rap.html [1]: 070_course_linux_server.html [Software Freedom and Web Applications]: http://journal.thecsiac.com/issue/45/112 [Take Notes in Class]: data/remember.jpg "Take Notes in Class" [Pandoc Markdown]: http://johnmacfarlane.net/pandoc/