In this assignment, you are expected to write a C program which would demonstrate file and directory operations according to user input. A sample run would be something like this:
ceng328@cankaya:~$ ./assignment4
Available commands: list, chdir <directory name>,
set <file name> <access modes>, info <file name>
> list
d Desktop
d Pictures
f assignment4
f assignment4.c
f io.png
> info assignment4.c
Type: Regular File
Size: 2947
UID: 1000
GID: 1000
Access Rights: -rw-r--r--
Last Accessed: 2010-05-12 10:29:26
Last Modified: 2010-05-12 10:30:13
> set assignment4.c -rw-rw-r--
OK
> exit
ceng328@cankaya:~$