Caveat Lector:
These are some notes for a basic course on Unix which I co-taught many
years ago at the University of Calgary. I keep them online in the
hope that they may be useful to someone. However, they are not
maintained. They may contain information specific to one (historic)
network, which will not apply universally. Links may be broken.
[ home ]
Computer Science 001
Introduction to Unix
Instructors:
-
Dominik Royko, Ron Dutton
Assumptions:
-
Awareness of DOS
-
General Knowledge of what an operating
system is
Goals:
-
Preparation for using Unix at a beginner
to intermediate level.
-
General familiarity with many aspects
of using Unix
-
Learn methods to obtain more detailed
information on your own
Day One:
-
Introduction to Unix for beginners (approx. 1 hr)
-
The Unix file system
-
Multi-user, Multitasking, processes
-
Logging into your commuter science account
-
The shell
-
The online Manual Pages
-
Unix basic commands
-
Introduction to Unix , intermediate (approx. 2 hrs)
-
General setup of computer science undergraduate machines
-
The Xterms
-
Architectures (SunOs, Solaris, SGI, Linux)
-
uname -a
-
compilation issues
-
File locations and your $PATH
-
Command differences (flags etc.)
-
Resource files (.cshrc, .login, .logout, .rhosts)
-
aliases
-
stty, set , limits
-
Available shells
-
Intermediate commands
Day Two:
-
Shell scripting using csh as an example ( approx. 30 to 45 minutes)
-
Example shell script
-
Setting variables
-
Reading command line arguments
-
Variables as counters
-
While loop
-
Foreach loop
-
if then else
-
Switch statement
-
Getting started with emacs/ everything you need to know about vi
(approx. 30 to 45 minutes)
-
Vi
-
Emacs
-
Starting, Saving and Stopping
-
The "help" command
-
The tutorial
-
The reference card
-
What's a buffer
-
Changing/split windows
-
killing
-
Cutting and pasting and the kill ring
-
Moving the cursor
-
Searching
-
Query - replace
-
Goto line
-
Keyboard Macros
-
Major Modes
-
The .emacs file
-
Makefiles and compiling (approx. 30 )
-
Example Makfile and discussion of it
-
Some useful compiler/link-edit options
-
What's a library and how to link it in to my program
-
What's a link-editor and do I really care
-
The World Wide Web (approx. 30 minutes)
-
Setting up your page
-
www directory
-
index.html
-
Your URL
-
permissions, permissions, permissions
-
Available Browsers
-
CGI
-
The department pages
-
Questions and Answers