Command Description ------- ----------- dtree Display a graphic representation of the directory structure of the current directory and its children. dtree -a Include files contained in the directory tree. dtree -d Present directories first in the listing. dtree -f Present files first in the listing. dtree -c # Truncate the linelength fo reach entry. dtree -l Present long listing for each dtree entry. dtree -x Limit dtree output to the current file system.
The dtree command displays a graphic representation of the directory structure of a given directory and its children. If no directories are specified, the current directory is used. By default, only directories, not regular files, are shown, and only if their filenames are given. File systems on The World can be very large and as a result, dtree may not be an effective way of listing these areas. For example: world% dtree |-classwork--- |-News-------- |-stans-|-games------- |-mail-------- |-public_html Using the -a option will include files contained in the directory tree: world% dtree -a
Use the -d flag to list directories first in the output, files will appear lower in the list, beneath the directory and its subdirectories: world% dtree -d Use the -f flag to list files first, ahead of directories and subdirectories in the list: world% dtree -f Use the -c linelength option to truncate the linelength of each entry to less than the default of 14 characters. For example, to limit the linelength to eight characters, use: world% dtree -c 8 Use the -l flag to obtain a long listing of useful information for each entry on the list: the file owner, file size, and mode. world% dtree -l Use the -x flag to limit dtree to the current file system. It will not cross over to a subdirectory if it resides on a different filesystem: world% dtree -x
HOME Top of Help Desk Eye On The World The World Kiosk
For further assistance, please send an email request to firstname.lastname@example.org Copyright 1995 Software Tool & Die, Inc. All Rights Reserved. Software Tool & Die, Inc., 1330 Beacon St. Suite 215 Brookline, MA 02146