# Working with Files 1. This seminar will look at files from two perspectives: through user commands (i.e. from a shell) and from C (using file-related system calls). 2. We will look at file management, like directory creation, file removal (unlinking), renaming, copying and so forth. 3. We will try to highlight both the commonalities and the differences of the two viewpoints, and notice what is easy with one but hard with the other. 4. We will always look at the user (shell) side of things first. This part will be a shell script, and will usually also contain a bit of theory in comments. 5. What will follow will be one or at most a few C programs that demonstrate the same concepts at the level of ‹libc› functions or system calls. We will start by looking at i-node metadata: $ micro stat.sh