Below is a list of UNIX commands that make files and directories and which navigate the file system. Your job is to draw the file tree that is created from these commands. Assume you begin in your home directory. Use an oval around directory names and a rectangle around regular file names. Put a star in the directory where you end up.
mkdir zoo cd zoo mkdir reptiles birds cats cd reptiles mkdir snakes lizards turtles cd snakes touch cobra mamba asp rattler cd ../.. touch birds/amazonParrot birds/condor birds/puffiin cd reptiles/lizards touch gecko dragonOfKomodo iguana skink cd ../.. cd cats touch caracal bobcat lion tiger cd
Draw this neatly on paper. Photograph it and save it as a
.jpeg
or a .png
. You can then upload it to
Canvas. You can also snailmail it if you wish.
This is a caracal. Here kitty, kitty!!