2013-05-08 21:01 EDT
- Fill in your Course Evaluation Survey for this course. Only nine questions! Closes March 17.
- Read (at least) these things (All The Words):
- From “Unix for Mac OS X Users” at lynda.com - more to come
- Read (All The Words), Do, and save (not for hand in)
- Read (All The Words), Do, and then Submit via Blackboard:
- Assignment #05 HTML - GLOB, aliases, options, and start-up files
- optional BONUS VIM assignment: [Assignment #06 ODT] (optional)
- Write down the dates of your Final Exams from the Course Home Page.
- Midterm test dates are posted on the Course Home Page.
- For full marks, you must read the Test Instructions before the test for important directions on how to enter your answers, your lab section number, and the test version number on the question sheet and the mark-sense forms.
- There may be more questions on the test than you can answer in the time allowed; answer the ones you know, first.
Keep a notebook with a List of Commands in it:
The command that creates new names for existing files is
$ ln source target
Know the meaning of each of the output fields of
2 4 drwxr-xr-x 24 root root 4096 Sep 12 12:12 /
2883589 4 drwxr-xr-x 2 root root 4096 Oct 5 02:05 /bin
2883666 104 -rwxr-xr-x 1 root root 105776 Feb 23 2011 /bin/ls
2883587 12 drwxr-xr-x 186 root root 12288 Oct 17 13:38 /etc
2889578 4 -rw-r--r-- 1 root root 2209 Mar 19 2012 /etc/passwd
- inode number
- size in disk blocks
- (one char) type (file, directory, symlink, etc.)
- (9 chars) permissions (3 for user, 3 for group, 3 for other)
- link count (count of names for this inode)
- userid of owner
- userid of group
- size in bytes (characters)
- date last modified
If two names reference the same inode, all the above attributes (except the name) will and must be identical for the two names. All the above attributes, except the name, are stored with the inode itself. The names are stored in directories.
- Lie: Names are stored with the things they name.
- Truth: Names and inode numbers are stored in directories.
- Lie: the
rm command removes files.
- Truth: The
rm command only removes names. When all the names are gone, only then are the file data blocks released.
- Lie: All file system objects have a unique inode.
- Truth: All things on the same file system (disk partition) have a unique inode. Different file systems have separate disk space and inode trees, so the same inode number will mean different file system objects in different file systems. You can’t hard link objects between different file systems. (Use symbolic links instead.)
| Ian! D. Allen - firstname.lastname@example.org - 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
Author Ian! D. Allen