|
CSE Home | About Us | Search | Contact Info |
Due: Sunday, Jan. 9, at 11 pm.
The purpose of this assignment is for you to become familiar with the basics
of the Linux shell and the range of commands that are included in most Linux
distributions. This very definitely does not include all of the commands you
will need for this course. Instead, it is aimed to help you learn about some
basic
commands
as well
as
how to how to discover more on your own. You should use the Linux Pocket
Guide and the Linux man
command to find specific commands needed
to answer these questions and use the Pocket Guide to read about
related commands and topics.
There are two parts of the assignment. In Part I you are asked to run several commands and capture the terminal session in a script file to hand in. Part II consists of several questions to be answered in a separate file. You should turn in both files when you are done.
Use the command script hw1.part1
to start
a shell and save the input and output into a file hw1.part1
. Then
run the commands needed to answer the following questions. It's ok
if you make a few small mistakes - you don't need to start over - but
either
edit the file to remove any substantial errors or include comments (input lines
starting with #) next to short goofs so we can follow your output easily. It
would also be helpful if you included a few comments to make it easier to find
answers to the different sets of questions,
but there are no detailed requirements for how to do this.
ls
command to show the file
name and permissions.cat
command.ls
command again to show the file name and permissions.cat
.Use a text editor (emacs suggested - you should learn how to use it at some
point, even if you later use something else) to create a plain text file named hw1.part2
containing
answers to the following questions.
Assessment: Your solutions will be evaluated on how
well they follow the instructions
and produce the desired results in part I, and on the correctness and conciseness
of your answers in part II.
Turn-in Instructions: Use the turn-in drop box link on the
main
course web page
to turn the hw1.part1
file created in part I and the hw2.part2
file
from
part II.
The
drop
box
will
allow
you
to
turn in your homework up to
two days late, if you choose to use one or two of your late days, but you are
strongly advised to save your
late days for later in the quarter when they may be much more useful.
Computer Science & Engineering University of Washington Box 352350 Seattle, WA 98195-2350 (206) 543-1695 voice, (206) 543-2969 FAX [comments to Hal Perkins] |