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 Some Commands

Keep a notebook with a List of Commands in it:

The command that creates new names for existing files is ln (link):

$ ln source target

Know the meaning of each of the output fields of ls -dils:

      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
  1. inode number
  2. size in disk blocks
  3. (one char) type (file, directory, symlink, etc.)
  4. (9 chars) permissions (3 for user, 3 for group, 3 for other)
  5. link count (count of names for this inode)
  6. userid of owner
  7. userid of group
  8. size in bytes (characters)
  9. date last modified
  10. name

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.

5.1 I’ve been telling you some simplification lies

6 Real Sysadmin Work

 Read All The Words

 Learn

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