logo © 1996 Phil Waclawski
Felitaur Site
Offerings
About Me
Crafts
Services
ftp files
Help Files
What's New?
Home Page
Other Links
Anatomy &
Physiology
Arthropods
Biology
Computers
Ferrets
Fun Links
Internet
Linux
S.C.A.
Win 95/NT
Comments or
Suggestions
webmaster@ felitaur.com
   
CIS126DA UNIX Final Review
The first part comes from the solaris based part of theUnixcourse. All of this is stuff that has been covered in class, and is a good overall review list for the final. The vast majority of questions will come from these topics. HOWEVER, ANYTHING covered in class is fair game.
  1. Learning about UNIX (lecture topic pages, man, man -k etc)
  2. File And Directory Organization
    • /etc/ which includes
      • httpd/conf/
      • httpd/logs/
      • rc.d/......
      • rc.d/init.d/
      • skel/
      • group
      • gshadow
      • passwd
      • shadow
      • printcap
      • resolv.conf
      • xinetd.d (for vsftp, imap, pop)
      • modules.conf
      • syslog.conf
      • logrotate.conf
      • services
      • hosts.deny
      • hosts.allow
      • inittab
      • fstab
      • profile & bashrc
      • sudoers
    • /var/log
    • /var/www
    • /var/spool
    • /mnt
    • /proc
    • /usr/src/linux/
    • /dev
    • /bin
    • /sbin
    • /home
    • /usr
    • /opt
    • /lib
    • /
    • .
    • ..
    • ~
  3. Ownership, priveleges and groups (chgrp, chown, chmod, groupadd)
  4. Printer Control
  5. Diskspace Management
  6. Job Control (ps -aux or -ef, kill, jobs, ^z, fg, bg, &)
  7. Piping and redirection ( | and > vs. >> )
Switching now to the administration part of the course on the Linux box.
  1. Installation Issues (Week 1)
    • Know you hardware, IRQ, DMA, IO
    • monitor-refresh rate, it will limit your display, not the video board
    • partitioning with fdisk
    • winmodems-why bad?
  2. Basic System Amdin (week 3) start, stop services, add/remove users, inetd.conf, inittab, sudo, su
  3. Printer and Cron (week 4) crontab, printer commands, how to use tar, rpm
  4. Managing file systems (mount, fstab, rpm options, quota, df, du, fdisk, mke2fs, fsck)Week 5
  5. Networking (Week 6) Review ALL
  6. Security (week 7) scanners, scanner detectors, what services should be shut down. Good passwords, social engineering.
  7. Kernel Recompiling (week 8) Why do it? What are modules?
  8. Log Management (week 9) Review ALL
  9. Scripting (week 10 and handouts)(you will be asked questions about a simple script on the exam)
    • #!/bin/bash (what does that line do?)
    • #comments
    • permissions, whose does it run under, etc.
    • if then elif else fi
    • case
    • while
    • select
    • $(( ))
    • date +%k
    • $0 through $9
    • $?
    • -ne -eq -lt -le -gt -ge
    • -o and -a
    • -n and -z
    • variables (how to assign, how to use)
    • ` ` (backquotes)
    • echo
    • read
    • function (where do they go? function arguments $1 $2...)
    • awk -F: '{print $1}' /etc/passwd (or skip the -F: and use a $3 etc.)