Next: File permission
Up: File properties (ls -l)
Previous: File properties (ls -l)
  Contents
The first column indicates the file type. For instance, the `d'
corresponding to the file ``demons'' indicates that ``demons'' is a
directory. A `-' indicates a standard file. A `b' or `c' indicates
a device (you should not see any of these in your own directories).
An `s' indicates a ``socket'' (a special kind of file in UNIX) and an
`l' indicates the filename is a symbolic link that points to another
file. You can also use the command file to get more information
about a file, e.g.:
malama% file demons
demons: directory
malama% file testprog
testprog: SPARC demand paged dynamically linked executable not
stripped
file recognizes many other types of files, such as shell
scripts (analogous to DCL command files; see the section on Shells below),
C and Fortran source code, etc. Anything it does not recognize is reported
as ``data''.
h.stilmack@jach.hawaii.edu