Vector Linux 5.8 Documentation |
The VectorLinux Filesystem and How to Find Files |
CONTENTS1. IntroductionVectorLinux, as with most other Linux distributions, tries to adhere to the Linux Filesytem Hierarchy Standard. This standard is necessary to enable developers and users to install, move, place and find files in locations that make sense and are consistent between distributions. This document will not discuss the details of the Linux FHS as you can read such details at the above website. What we wish to point out here are the important directories and file locations for those configuration files and directories which are particularly relevant or unique to VectorLinux. It is hoped this will enable newcomers to navigate the many Linux directories more effectively and to know where to find files to fix any problems that may arise. Secondly, we briefly discuss some of the Linux utilities that will help you locate files/directories. It also needs to be known that VectorLinux is based upon the Slackware Linux distribution. Slackware Linux uses the BSD-style file layout for its system initialization script files. Consequently Slackware and Linux do not use System V init scripts. This is an important fact if you wish to navigate or edit the init configuration scripts. If interested, you can read about the difference between BSD and System V init scripts. VectorLinux provides VASM the "Vector Administration and Services Menu" system administration utility amongst other utilities, plus a fully configured Linux system for most common hardware. Thus it should generally be unnecessary for newcomers to have to manually edit any of the configuration files. You should also never have to edit any of the init scripts unless you are an expert. This document is provided for information purposes only. 2. Important Configuration FilesMost system configuration files are located
in the /etc directory. Most user-specific configuration
files are in the appropriate home directory as a "hidden" "rc"
file, e.g. ~/.bashrc or within a directory specific to the
application, e.g. ~/.config/xfce4 (where ~ is a shortcut to
your home directory). Navigate to the /etc directory in your
favourite file manager application and we will analyze the most
important system config files:
The important BSD-style system initialization scripts which the knowledgeable user may at some time wish to edit are:
Now the most important user config files (where ~ denotes your home directory) are listed below. Note that almost every application you use will probably create a ~/.application file or directory where it stores your preference settings.
And lastly here are some other important log files and other files which you may need to refer to at some stage:
3. How To Find Filesslocate or locate
If you want to know where all the files were placed when you installed a Vector Linux .tgz package then slocate is your best bet. You can also browse this information at /var/log/packages. mc (Midnight Commander)
find
whereisThe aproposThe docbook2pdf [jw] (1) - (Jade Wrapper) converts SGML files to other formats dvipdf (1) - Convert TeX DVI file to PDF using ghostscript and dvips gs (1) - Ghostscript (PostScript and PDF language interpreter and previewer) gsnd (1) - Run ghostscript (PostScript and PDF engine) without display pdf2dsc (1) - generate a PostScript page list of a PDF document pdf2ps (1) - Ghostscript PDF to PostScript translator pdfopt (1) - Ghostscript PDF Optimizer ps2ascii (1) - Ghostscript translator from PostScript or PDF to ASCII ps2pdf (1) - Convert PostScript to PDF using ghostscript ps2pdf12 [ps2pdf] (1) - Convert PostScript to PDF 1.2 (Acrobat 3-and-later compatible) using ghostscript ps2pdf13 [ps2pdf] (1) - Convert PostScript to PDF 1.3 (Acrobat 4-and-later compatible) using ghostscript ps2pdfwr (1) - Convert PostScript to PDF without specifying CompatibilityLevel, using ghostscript texi2dvi4a2ps (1) - Compile Texinfo and LaTeX files to DVI or PDF tiff2pdf (1) - convert a TIFF image to a PDF document The above output shows all the commands and a brief description from the man page title of what they do. whichThe 4. CreditsCopyright 2007 Vector Linux |