## Name

DIR — Display the names of files contained in a directory

## Synopsis

`dir` [ `e` ] [ `x` ] [ `path` ]

## Description

Displays a formatted list of files names in a directory file on. the standard output path. If no parameters are given, the current data directory is shown. If the “x” option is given, the current execution directory is shown. If a pathlist of a directory file is given, it is shown.

If the “e” option is included, each file's entire description is displayed: size, address, owner, permissions, date and time of last modification.

For more information see: the section called “A Quick Introduction to the Use of the Keyboard and Disks”, the section called “Creating and Using Directories”, and the section called “Examining and Changing File Attributes”

## Examples

    dir                  (display data directory)

    dir x                (display execution directory)

    dir x e              (display entire description of execution dir)

    dir ..               (display parent of working data directory)

    dir newstuff         (display newstuff directory)

    dir e test_programs  (display entire description of test_programs)