Recently a few students participated in helping to
write versions of cp and who.
We will continue that today, by writing touch, and
extending
the simple lsthat we wrote on Monday.
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
Task 2: Now we can extend ls
to work like ls -l works.
The version of ls we built in class is
here.
This lab will help walk you through the necessary
steps to extend it.
Our goal, at the end, is to have an equivalent to ls -l.