Last week a few students participated in helping to
write versions of cp and ls.
We will continue that today, by writing touch, and extending
the simple ls that we wrote Friday.
Please feel free to work and discuss today's labwork in teams (of
any number of students)
touch
What is touch(1)? What does it do?
How does it work?
Task 1: implement touch(1)
Extending ls
Now that touch is complete, let's revisit ls and
extend it to work like ls -l works.
The (working) version of ls that was developed in class is
here.
This lab will help walk you through the necessary
steps.
Our goal, at the end, is to have an equivalent to ls -l.