Updated: 2013-05-08 21:01 EDT

1 Readings, Assignments, Labs, and ToDo

2 Midterm Test #2 - Week 10 - Thursday March 21 - 25%

4 From the Classroom Whiteboard/Chalkboard

5 Learning the Material

I was watching a student on the #95 bus running through her hand-made flashcards to help memorize anatomy. Every card had a photocopied and pasted picture of some muscle groups on the front with identifying letters, and on the back-side were long, hand-written notes about what each lettered group was. Those cards must have taken her hours to make, and rather than play video games on her phone she was reviewing them on the ride home. Some students are truly determined to succeed. Have you made Linux flash cards to memorize Linux commands and options?

Do you want to know Linux? Are you in the right field?

 Genius Fish

6 Some Commands

Keep a notebook with a List of Commands in it.

Why doesn’t this work? (See Worksheet #05 section 5.3.)

$ touch lab5.3b
$ rm lab5.[3b]

Changes by Ubuntu to the basic Unix security model for symlinks and hard links:

A useful option to ls -l is -L - dereference (follow, expand) symlinks and show the real thing:

$ ls -dils /bin/*sh                                       
524294 936 -rwxr-xr-x 1 root root 955024 Apr  3  2012 /bin/bash
524318 108 -rwxr-xr-x 1 root root 109768 Mar 29  2012 /bin/dash
524419   0 lrwxrwxrwx 1 root root      4 Sep  7 00:22 /bin/rbash -> bash
524434   0 lrwxrwxrwx 1 root root      4 Sep  7 00:22 /bin/sh -> dash
524438   0 lrwxrwxrwx 1 root root      7 Sep  7 00:22 /bin/static-sh -> busybox

$ ls -dilsL /bin/*sh
524294  936 -rwxr-xr-x 1 root root  955024 Apr  3  2012 /bin/bash
524318  108 -rwxr-xr-x 1 root root  109768 Mar 29  2012 /bin/dash
524294  936 -rwxr-xr-x 1 root root  955024 Apr  3  2012 /bin/rbash
524318  108 -rwxr-xr-x 1 root root  109768 Mar 29  2012 /bin/sh
524297 1788 -rwxr-xr-x 1 root root 1827920 Apr 13  2012 /bin/static-sh

$ ls -dilsL /bin/*sh | sort
524294  936 -rwxr-xr-x 1 root root  955024 Apr  3  2012 /bin/bash
524294  936 -rwxr-xr-x 1 root root  955024 Apr  3  2012 /bin/rbash
524297 1788 -rwxr-xr-x 1 root root 1827920 Apr 13  2012 /bin/static-sh
524318  108 -rwxr-xr-x 1 root root  109768 Mar 29  2012 /bin/dash
524318  108 -rwxr-xr-x 1 root root  109768 Mar 29  2012 /bin/sh

7 Real Sysadmin Work

Learn how to write code: http://www.code.org/

Author: 
| 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


Campaign for non-browser-specific HTML   Valid XHTML 1.0 Transitional   Valid CSS!   Creative Commons by nc sa 3.0   Hacker Ideals Emblem   Author Ian! D. Allen