Updated: 2012-10-27 16:42 EDT

1 Readings, Assignments, Labs, and ToDoIndexup to index

2 Midterm Test #2 - Week 10 - Monday November 5 - 25%Indexup to index

3 Final Exam Schedule is PostedIndexup to index

Your Final Exam schedule is posted in the ICT office and on the Course Home Page.

4 Lecture Notes for This WeekIndexup to index

4.2 From the Classroom Whiteboard/ChalkboardIndexup to index

4.2.1 Your in-class notes go here - take notes in class!Indexup to index

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

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

A useful option to ls is -L - dereference symlinks:

$ 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
  • A useful option to find is -links - find by number of links:
    • $ find /lib -type f -links +1 -ls
  • A useful option to find is -inum - find by inode number:
    • $ find /lib -inum 171600 -ls

5 Real Sysadmin WorkIndexup to index

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

6 More Ubuntu Linux on your PhoneIndexup to index

See Here

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