Assignments
| CS 114 Home |
Assignments
Homework 1: Due 10/1.
-
Send e-mail to instructor from your Unix account.
(Use mailx or elm.)
-
Put CS114, name in the subject line.
-
Say why you're taking CS114 in the body of the message.
-
Due 10/1 at 5PM. Even if you're late, please submit ASAP.
Homework 2: Due 10/8
-
Copy the files a1.txt, a2.txt,
b1.txt,
b2.txt,
c1.txt,
and c2.txt to your
home directory on Unix. (I neglected to mention a2, b2, and c2 text
files in class....sorry!)
Beware! I "scattered" all six files in my account. You will need to
go "digging" around to find
them. Hints: I might have "hidden" a directory. Investigate hidden
files and ls -a.
-
Edit all six files to include your name and ID.
-
Follow the instructions in Problem 15 on page 71 in Introduction to Unix.
-
Use the .txt file extension for all files.
-
Follow the instructions in Chapter 8, Section 8.3 to set correct premissions.
Don't forget to
set permissions on your home account.
The graders will check to see if you correctly copied and edited all
files in your account.
NOTE: You do not need to write a list of all your commands. I think
doing the work and
setting permissions is enough.
Homework 3: Due 10/18 by end of lecture.
Problems 1-20 from Chapter 7, Introduction to UNIX (pg. 87-88)
-
Your solutions must be typed.
-
Show all command-line input in boldface.
Homework 4: Due Mon 10/25 by end of lecture.
For each of the following commands,
-
Organize each into useful categories, like communication, identity,
text processing, etc
(see lecture notes for variety of categories)
-
Write a brief, 1 line description that's at least as good, if not better
than what man tells you
-
Show at least 1 example that you could enter at the prompt
-
you must explain what each example does
-
feel free to use command options, if available
-
You may work with a partner if you wish. Submit one copy with both names.
Commands:
man, cd, ls, ln, mv, cp, pwd, echo, exit, logout, more, less, vi, emacs,
kill, ps, fg, bg, jobs, stop, notify, wait,
sleep, nohup, crontab, at, batch, news, who, listusers, rusers, finger,
su, w, rwho, users, whois, mail,
mailx, talk, mesg, send, rn, hostname, host, ping, telnet, rlogin,
rsh, ftp, uuencode, uudecode, uucp,
find, grep, egrep, fgrep, comm, diff, diff3, dircmp, cmp, sort, uniq,
troff, col, cut, head, tail, split, spell,
compress, uncompress, tar, gzip, pack, unpack, zip, unzip, pg, cat,
join, touch, uname, set, alias, setenv,
stty, zmore, zdiff, chmod, umask, groups, chown, su, du, df, quota,
yes, banner, cal, calender, date, ed, ex,
env, from, folder, gs, history, ispell, last, look, login, lp, lpr,
lpstat, lpq, mkdir, rmdir, rm, paste, ps2ascii,
ps2pdf, time, type, which, whence, timex, unalias, dis (yes, there
is indeed a dis command)
Submission Rules
Each homework due on Friday unless otherwise announced.
See syllabus and policies
for more details.
Back to Top
Back to CS114 Home