24.12.2012 Views

CSC322 C Programming and UNIX - Department of Computer ...

CSC322 C Programming and UNIX - Department of Computer ...

CSC322 C Programming and UNIX - Department of Computer ...

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

The <strong>UNIX</strong> File System<br />

In <strong>UNIX</strong>, all files are organized in a single directory tree, regardless <strong>of</strong> where they<br />

are stored physically<br />

There are two main types <strong>of</strong> files:<br />

– Plain files (containing data)<br />

– Directories (“folders”), containing both plain files (optionally) <strong>and</strong> other directories<br />

Each file in a directory is identified by its name <strong>and</strong> has a number <strong>of</strong> attributes:<br />

– Name<br />

– Type<br />

– Owner<br />

– Group (each file belongs to one group, even if the owner belongs to multiple<br />

groups)<br />

– Access rights<br />

– Access dates<br />

Stephan Schulz 32

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!