Directories and files

Files

Now that you know how to move from directory to directory, the next step is learning how to see what files are in a directory.

In your SCO OpenServer system, the files that make up the operating system are distributed in special directories called ``storage sections'' and many of these files are then ``symbolically linked'' into their normal locations within the filesystem. When a symbolic link is being used, the filename in a directory listing will be followed by an arrow symbol and then the full pathname of where the actual file is located. For example, the file /etc/motd is actually located in /var/opt/K/SCO/Unix/5.0.0Ca/etc/motd. This will appear as:

   motd -> /var/opt/K/SCO/Unix/5.0.0Ca/etc/motd
In order to resolve these links so you actually see the files and their attributes and not the links you may want to use the -L option to the l command.
Next topic: Listing the files in a directory
Previous topic: Changing directories

© 2005 The SCO Group, Inc. All rights reserved.
SCO OpenServer Release 6.0.0 -- 03 June 2005