Schedule
Syllabus
Learning Goals
Welcome to Intro to Linux!
Here is the tentative schedule of topics covered during this course, which is subject to be changed and updated as we go along.
Week 1
- Review Syllabus and Introduce Course
- Lecture Slides
- The Editor War
vim
oremacs
? - Choose Editor Assignment - Due August 30th by 11:59 PM
- Remote Login: PuTTY and
pscp
Week 2
- Interacting with the Command Line
script
man
apropos
pwd
ls
cd
less
mkdir
rmdir
mv
cp
- Start a
CHEATSHEET.LNX
file for notes - Understand the meaning of ~,., and ..
Week 3
- Aliases
alias
unalias
- Alias bypassing
- The ~/.
bashrc
configuration file - Interogatting Files:
touch
rm
find
wc
file
stat
df
- Filesharing
wget
tar
- Example tarball: example.tar.bz
Week 4
- CHEATSHEET.LNX Submission Description - Due September 27 by 11:59PM
- I/O Manipulation
echo
- Standard input (STDIN), output (STDOUT), and error (STDERR)
- Redirection <, >, », 2>, 2»
- Pipeline |
- /dev/null
- Variables
- Environment vs local/shell variables
export
read
Week 5
- UnixHistory.sh Assignment Description - Due October 4th by 11:59PM
- Wildcards and globbing
- *
- ?
- Bracket Usage: [abc], [A-C], [!a], etc
- Brace Expansion: {A..Z}, {A,B,C}, etc
- Quoting
- ‘Single Quotes’ vs. “Double Quotes”
bash
Scripting- Example: shell-dessert.sh
-e
and-x
flags
Week 6
- Control Signals
- CTRL-C
- CTRL-D
- CTRL-Z
- Exit Status: $?
- Command Line Arguments for shell scripts
- $0, $1, $2…
- $# and $@
- Example: args.sh
- Loop Constructs: while-do-done
- Example: tlw.sh
- Midterm Review
Midterm October 10th 7:30 - 9:00 PM
Room Assignments
- Section A (Monday): MZ 026
- Section B (Wednesday): MZ 022
- Section C (Friday, Last Name A-M): BB 316A
- Section C (Friday, Last Name N-Z): BB 316B
Week 7
- Quoth.sh Assignment Description (quotes.tar.gz) - Due October 25th by 11:59PM
- Process Control
top
ps
nice
jobs
fg
kill
- Conditional Constructs
test
true
false
- if-then-else
- Example: decisions.sh
- Script
exit
status
Week 8
- TitleCheck.sh Assignment Description - Due November 8th by 11:59PM
- Go over midterm
- Pattern-centric Control Structures
Week 9
- Common Pipeline Utilities
grep
head
tail
sort
tee
tr
cut
- Pipeline Exercises (pipeline_data.csv)
- Pipeline Exercises Answers
Week 10
- LiteLifting.sh Assignment Description - Due November 22nd by 11:59PM
- Stream Editing
sed
- Regular Expressions (regex)
- .
- *
- Bracket usage: [abc], [A-C], [^a], etc.
- Anchoring: ^ and $
- Extended Regular Expressions: ?, +, (), |, {n}
- Example: regex.tar.bz
Week 11
- Identity, Ownership, and Permissions
chmod
chown
id
users
who
newgrp
sudo
chgrp
sg
su
Week 12
- CHEATSHEET.LNX Final Submission Description Due December 5th by 11:59PM
- Inodes and Linking
ln
stat
Final Exam Review
Final Exam December 6th 7:00-9:00PM
Room Assignments
- Section A (Monday): MZ 026
- Section B (Wednesday): MZ 022
- Section C (Friday, Last Name A-M): BB 316A
- Section C (Friday, Last Name N-Z): BB 316B