Comprehensive System Administration


Lecture 2 notes:

getting an OCF account:

Hopefully you've already gotten an OCF account. This course will be taught on the Open Computing Facility's hardware. If you don't have an OCF account already, you'll need to sign up for one. You should have done this on the first day of class. If you missed it you can do it anytime a staff member is around. You can go to this page to get the new account form if you'd rather print it and fill it out at home although we usually have copies in the lab.

administrivia:

Taking this class for units: Try to sign up officially before this Friday. To get a signiture, stop by the lab on Thursday afternoon before 6pm, or bring your add form to class if you want to wait until the last minute. Any class instructor can sign the form, but try to find Gabe or Devin. We don't mind if you just want to audit the class. Class This Friday: The lab may be closed this Friday, as Heller Lounge will be closed from Thursday evening until next Tuesday. Our staff will try to open the lab, you may need to walk around to the back door to get in if the front door is locked. In future weeks, we may move the class to a real classroom, because hands on computer use will not always be necessary. Units: variable (1-3) Questions?

course material:

Today we will focus on getting everyone up to speed on basic unix commands, and redirection. If there is time, you should investigate file editors, and email programs. You should use the class time to find peers that have more knowledge than you in certain areas, and who you can go to for advice and guidance. Steve and Gabe will be leading the class, there will also be other instructors around and available to help. Below is a list of basic unix commands we think you should be familiar and comfortable with. These links can help you find information about any commands you don't know already. You can also try asking your peers, or an instructor. Some hints on getting more information and explanations about unix commands Google Search for "frequently used unix commands" LLNL's Quick Reference of Frequently used Unix Commands Very basic unix commands...
  • ls
  • cp, mv, rm
  • chmod, chown, chgrp
  • cd, pwd
  • mkdir, rmdir, ln
  • cat, more, less, head, tail
  • man, apropos
  • sort, uniq, wc, grep
  • vi, pico, emacs
  • date, cal
  • pine, elm, mutt, mail
  • telnet, rlogin, ssh
  • ftp, scp
  • w, who, finger, talk, nwrite
  • hostname, whoami, set, history
  • passwd, quota -v, du
  • lpr, lp
  • ps, kill
  • find, locate, which
  • exit redirection >, >>, <, |
    • > send output to file: ls > directory-listing
    • >> append output to end of file (don't overwrite file)
    • < send a file as input to a command: mail friend < filename
    • | send output of one command to input of next command: ls -la | more

Homework


Enrichment

There are several places on campus where you can get further basic unix instruction:

You can also find other good sources of information on the web:

Sources of information on using unix
There are numerous good books on System Administration in circulation.
System Administration Cultural Resources: