Introduction to Unix - Spring 2009
CIS 2101 - Introduction
to Unix course material and class schedule
Jan 21, 2009
Lecture #1
- Introduction to UNIX and the shell tool
- What is Unix?
- What is an operating system?
- Brief history of Unix
- Introduction to a networked environment
- What is a shell and what does it do.
- Command structure
man pages(-k option, apropos, whatis)
- Other sources of help (program help, info documents,
/usr/doc)
- Notes
- Homework
Jan 26, 2009
Lecture #2 - Unix
identification commands and more on the shell
- The
whoami command
- The
who am i command
- The
hostname command
- The
uname command
- The
users command
- The
who command
- The
w command
- The
finger command
- The
date command
- More on the shell...
- The env command.
- Common shell environmental variables
- setenv, unsetenv
- Notes
- Homework for lecture #2
Jan 28, 2009
Lecture #3 - The UNIX
hierarchial file system and moving around on the system
- description of the Unix file system
- Comparison with windows
- Files and directories
- The
pwd command
- The
cd command
- The
ls command (-a,l,F,t,r options)
- Absolute and relative paths
- / directory
- The /bin, /dev, /etc, /lib,
/lost+found, /mnt, /sys, /tmp, /sbin, /opt, /var, /home,
and /usr directories
- Your home directory
- Notes
- Homework for lecture #3
Feb 2, 2009
Lecture #4 - More on the Unix
file system
- Symbolic links
- Hidden files
- The "." and ".." directories.
- Local versus remote file systems
- The
du command
- The
df command
- The
mount and umount commands
- Notes
- Homework for lecture #4
Feb 4, 2009
Lecture #5 - File ownership
and permissions
- More on the
ls command
- Permission strings and file ownership
- Changing file and directory permissions with
chmod
- Changing file and directory ownership and groups with
chgrp and chown
- Listing groups that you are a member of with the
groups command
- The
umask command
- The
touch command
- Notes
- Lab/homework for lecture #5
Feb 9, 2009
Lecture #6 - Creating,
moving, renaming, and deleting files and directories.
- The
mkdir command
- The
cp command
- The wildcard expression
- The
mv command
- moving and renaming files
- The
rm command
- The
rmdir command
- Lab/Homework for lecture #6
Feb 11, 2009
Lecture #7 - Looking into
files. More creating, moving, renaming and deleting files.
- The
file command
- The
which command
- The
head command
- The
tail command
- The
cat command
- The
more and less commands
- Notes
Feb 12, 2008, Apr 16
Lecture #8 - filters,
piping, and redirections.
- the
sort command
- the
grep command
- file redirection and piping
- concanating files
- Notes
Feb 14, 2008, Apr 18
Lecture #9 - Remote Connections.
- connecting to remote sites with
rlogin
- connecting to remote sites with
telnet
- connecting to remote sites with
ssh
- remote X connections
- Notes
Feb 19, 2008, Apr 23
Lecture #10 - File transfers.
- transferring files with ftp
- setting the transfer mode
- get, mget, put, mput
- transferring files with
sftp
- transferring files with
scp
- transferring files with
wget
- Notes
Feb 21, 2008, Apr 25
Lecture #11 - Using the vi editor.
- Editor modes:
- command mode.
- navigation
- Deleting text (characters & lines)
- Copy & Paste
- EX commands
- insert mode.
- Notes
Mar 5, 2008, Apr 30
Lecture #12 - Getting
the most out of your C shell
- introduction to command shells
- what shells are available, how do
they differ from each other?
- how to identify the shell you are
using
- selecting a new shell
- the shell environment
- the .cshrc and .login files
- the history variable
- repeating a command with the history
variable
- the !! command
- aliases
- setting a custom prompt
- Notes
Mar 12, 2008 / May ?
Lecture #13 - Job
control.
- stopping, suspending a job
- restarting a job
- running a job in the foreground
- running a job in the background
- monitoring and listing current jobs
- the
ps command
- the
top command
- killing jobs with the
kill command
- Notes
- homework for lecture #13
Mar 7, 2008, May 2
Lecture #14 Unix Printing,
Compressing files, tar archives and find.
- printing files with
lpr
- checking the printer que with
lpq
- removing print jobs from the printer que
with
lprm
- Compressing files with
tar, gzip and
compress
-
- using the
find command to search for
information and files
- Notes
- homework for lecture #14
Mar 8, 2008
Lecture #15 Basic shell
scripting/programming.
- the
echo command
- shell variables
- shell arithmetic
- comparison functions
- conditional expressions
- looping expressions
- Notes
last updated:
17 Jan 2008 11:00