/). And from those sub-directories you may have further sub-directories. A directory may be referred to in two different ways: 1) by its full name, or absolute name, or 2) by its relative name. Absolute name refers to the directory's full path starting from
/winding down the directory tree until you name the directory in question. For example:
/players/descartes/obj/monsterrefers to the directory monster which is a sub-directory of obj which is a sub-directory of descartes which is a sub-directory of players which is a sudirectory of
/. The relative name refers to the name relative to another directory. The above example is called monster relative to
/players/descartes/obj, but it is also called
descartes/obj/monsterrelative to /players, and finally
/. You can tell the difference between absolute names and relative names because absolute names always start with
/. In order to know exactly which directory is being named by a relative name, you naturally must know what directory it is relative to. A directory contains sub-directories and files. LPMuds only use text files inside the mudlib. Like directories, files have both absolute and relative names. The most basic relative name is often referred to as the file name, with the rest of the absolute name being referred to as the path. So, for the file:
castle.cis the file name, and
/players/descartesis the path. On some muds, a file with a file name beginning with a . (like
.plan) is not visible when you list files with the regular file listing command.
/players/descartesand I type "
ed castle.c" (ed is the command to edit), then it assumes I mean the file
/. Other directories branch off from that root directory and in turn have their own sub-directories. All directories may contain directories and files. Directories and files are referred to either by their absolute name, which always begins with
/, or by their relative name which gives the file's name relative to a particular directory. In order to get around in the UNIX files structure, you have the typical UNIX commands for listing files, your current directory, etc. On your mud, all of the above commands should have detailed help commands to help you explore exactly what they do. In addition, there should be a very detailed file on your mud's editor. If you are unfamiliar with ed, you should go over this convoluted file.