Finding files on The World

Public Directories

The World offers numerous public directories that you may access to
read, copy or download files that interest you:

/obi This directory contains books available for download or on-line perusal. The purpose of the Online Book Initiative is to create a publicly accessible repository for freely redistributable collections of information, a net-worker's library.

/ftp This directory...

/usr/doc This directory contains documents offering descriptions or instructions on a variety of programs.

/src This directory contains sources for a wide variety of programs that you may want to download.

/tmp This directory is a to be used to temporarily store your files when, for instance, they are being trans- ferred from an ftp site and would exceed your diskspace quota if they were placed in your home directory. The /tmp directory is not to be used for file storage of more than a few days duration.

/usr/gnu This directory contains a large variety of GNU software.

Commands to use for finding files

You can locate a source, binary and/or a manual for a program using the whereis command. It will list any occurrence for the keyword you give it: world% whereis keyword For example: world% whereis tetris tetris: /usr/games/tetris The which command locates the executable files and expands any aliases used for a keyword: world% which keyword For example: world% which h h: aliased to help world% which help /bin/help The World's source area is a bit too complex for whereis to be used effectively, so the command findsrc can be used instead: world% findsrc keyword For example: world% findsrc tetris /sources/X11R5/xtetris-2.5.2.tar.Z /sources/games/gwr-tetris.tar.Z /sources/games/tetris.tar.Z /sources/gnu/screen-3.5.2/terminfo/tetris.c Likewise, you can search the OBI (Online Book Initiative) area using the findobi command: world% findobi keyword For example: world% findobi shakespeare /obi/Shakespeare/ /obi/Shakespeare.complete.Z /obi/Shakespeare/Shakespeare.complete.Z /obi/Shakespeare/Comedies/Shakespeare.comedies /obi/Shakespeare/Glossary/Shakespeare.glossary /obi/Shakespeare/Histories/Shakespeare.histories /obi/Shakespeare/Tragedies/Shakespeare.tragedies In the event that you are looking for something that you can't find on The World, you may extend your search into the Internet using archie: world% archie -s keyword Archie searches a remote database containing the file names from many anonymous FTP sites and will report where they are. It can be verbose so, to paginate the output: world% archie -s keyword | more If you wonder in which of your files contains references to a keyword, you can use the grep command: world% grep keyword filename You can replace filename with the * wildcard character to conduct a search throughout all of your files instead, which at times can be very useful. Note that grep will return the filename where the keyword was located, as well as the line in the text that contained it. For example: world% grep appt * my.schedule:don't forget-Fri 12:00 appt with Dr. Jones mbox:Subject: Tuesday's appt cancelled If you find that you forget under what subdirectory you keep certain files, you can use the dtree command to get a visual representation of a directory tree (here for example on stans' home directory): world% dtree |-classwork--- |-News-------- |-stans-|-games------- |-mail-------- |-public_html Using the -a option will include files contained in the directory tree: world% dtree -a For more information on any of these commands, refer to the manual pages: world% man findsrc


HOME Top of Help Desk Eye On The World  The World Kiosk


             For further assistance, please send an email 
                       request to support@world.std.com

        Copyright 1995 Software Tool & Die, Inc.  All Rights Reserved.

   Software Tool & Die, Inc., 1330 Beacon St. Suite 215 Brookline, MA 02146