U.H.A.C.C. Join today! Linux Free BSD OSX (Darwin) Open BSD GNU - Free Software Foundation IBM AIX Sun - Solaris, Open Office SGI IRIX
home club info listserv sysblogd forums geeky links tech help webmail contact
hacker emblem


LDP Mirror
Forums RSS

Past club events:

UHACC @ Penguicon
LinuxFest 2004
SCO-B-Q
UHACC @ Flatcon

Club Pages:

ISU chapter: ISUnix
Member's Sites

Projects:

UHACC CVS

Club Documents:

Our Guiding Principles
UHACC Constitution
Operating Code
Membership App
AUP


Valid CSS!

A) SHELL/SHELL ENVIRONMENT
  1) What does the set command do?
  2) What is the $DISPLAY variable used for?
  3) How do you generate a list of all environmental variables set?
  4) What does the $PATH variable do for us? 
  5) How do you redefine your $PATH? Append to it?
  6) When issuing a command at a shell prompt, where will the shell look
     for it before searching through directories defined in the $PATH?
  7) What is the difference between an executable file, an alias, 
     a function, and a shell built-in?

B) NETWORKING
  1) How do you list all processes listening/bound to TCP sockets?
  2) How could you query which IP address is associated with a name?
  3) How do you see all IP network routes statically defined on a 
     system?
  4) How do you generate a continuously updating list of RX and TX 
     network traffic packet numbers in real time?
  5) How do you list MAC-address-to-IP relationships on the local 
     LAN/VLAN?
  6) What tool(s) would you use to configure a network interface? 
     List all interfaces/configs.
  7) How does name resolution occur? Explain the role of:
    a) /etc/nsswitch.conf
    b) /etc/resolv.conf
    c) DNS
    d) reverse DNS lookup (IPADDR --> NAME)
  8) Using ifconfig, show the proper syntax for defining logical interface eth0, having an IP address of 10.10.10.10, on a /23 network segment, and having a gateway of 10.10.9.1.
 
C) PROCESS MANAGEMENT
  1) What is a signal vector?
  2) What signals can you use to terminate a process?
  3) What command would you use to issue a signal vector?
  4) What is a runaway process?
  5) What is a zombie process?
  6) How do you determine the PID of a process? Parent PID? %CPU 
     utilization of the process?
  7) What might cause a process to stop responding to SIGTERM? SIGKILL?
  8) What is CPU "load average"? How do you view the load average?
  9) Name some ways to monitor CPU, and/or memory performance.
  10) What tools are used to monitor disk performance?

D) EDITING & TEXT WRANGLING
  1) Using vi (or vim), how do you: 
    a) skip forward to a line containing the string "foobar"? 
    b) skip backward to the string "foobar"?
    c) change all occurances of "foobar" to read "barbaz"? 
    d) change cccurances like above except only between lines 2 and 31?
    e) undo a change? 
    f) redo the last undone action?
    g) jump to the end of a line? 
    h) jump to the end of the document? 
    i) jump to the beginning?
  2) How do you dump the first 10 lines of an ascii file? 
  3) Last 10 lines?
  4) How do you dump all lines containing the string "foobar"?
  5) How do you extract ascii text from a binary file?

E) FILESYSTEM
  1) List the octal permissions for each of the following files + 
     special features, ownership, and attributes.
    a)  drwxrwxr-x    4 www      www           880 Feb 13 12:01 webdir
    b)  -rwsr-xr-x    1 root     root        25464 Nov  3  2004 /usr/bin/passwd
    c)  -rw-r--r--    1 foo      users          70 Dec 15  2004 minicom.log
    d)  lrwxrwxrwx    1 root     root           14 Feb 15 20:34 trd -> trd-v1.1 
    e)  srwxrw-rw-    1 root     root            0 Mar 13 17:22 /dev/log
    f)  drwxrwxrwt   10 root     root         4096 Mar 13 17:58 tmp
    g)  -rw-------    1 mongoose mongoose     7047 Mar 12 23:12 .bash_history
    h)  crw-------    1 root     root     108,   0 Mar 13 17:21 /dev/ppp
    i)  brw-rw----    1 root     disk      22,   1 Mar 13 17:21 /dev/hdc1
    j)  drwxrwsr-x    2 root     www          4096 Sep 24  2003 mrtg
    k)  -rw-r--r--    1 615      21            577 May 30 21:04 README
  2) How do you determine which processes might be writing to a given file?
  3) How do you tell which filesystems are mounted?
  4) What is the difference between a directory and a filesystem?

F) UNIX/LINUX DIRECTORIES & FILES
  1) What are contained in each field in an /etc/passwd entry?
  2) What is the purpose of /etc/shadow?
  3) In which directory are most config files placed?
  4) In which directory are most log files placed?
  5) What is the purpose of /var/spool?
  6) What will you classically find in /opt?
  7) Where are user's home directories usually?
  8) What is configured in /etc/exports?
  9) What file can you edit to configure a filesystem to automount at boot?
  10) What is the main differences between executables located in
     /usr/bin, /usr/sbin, and /usr/local/bin?
  11) What is /tmp? Is it important? Why or why not?

G) DAEMONS
  1) syslogd:
    a) What does it do?
    b) Where are its output files?
    c) Where is its config file?
    d) How do your force syslog to re-read its config file?
  2) sendmail
    a) What does sendmail do?
    b) List the syntax for starting sendmail in daemon-mode, processing
       its outgoing queue every 30 minutes.
    c) Where is incoming main stored?
    d) Where is outgoing mail stored?
    e) Which sendmail command do you issue to force sendmail to reprocess its aliases definitions?
  3) crond
    a) What is cron used for?
    b) What is crontab? How do you view or edit it?
    c) Give the proper crontab entry for running /usr/local/bin/backup.bash
       every Saturday at 02:46
  4) NFS
    a) Give the command to mount the remote filesystem /opt/nfsstuff from host srv.uhacc.org onto local directory /mnt/nfs
    b) What can we define in /etc/exports?
    c) What can we define in /etc/netgroup? 

Upcoming Events


UHACC Pre-Meeting


Wednesday Evenings, ~5:15-6:30pm

- Lunker's


Officially unofficial pre-meeting meeting.
Come. Eat. Geek.


UHACC Meeting


Every Wednesday - 7:00-9:00pm

IWU Center for Natural Science Learning and Research, Fishbowl, floor 2. [Directions]



Join us every Wednesday for our usual gratuitous display of geekiness. Meetings are free and attendance is open.

Hope to see you there!


[Home] [Acceptable Usage] [Privacy Policy] [Downloads] [LDP Mirror] [Member's Sites] [Archives]

Copyright © 2006: Unix Hobbyists' Administrators' & Coders' Club. All Rights Reserved.
UHACC, P.O. Box 6376 - Bloomington, Illinois 61702-6376
"First they ignore you, then they laugh at you, then they fight you, then you win." - Mahatma Gandhi