dir (command)

From Wikipedia, the free encyclopedia
Jump to navigation Jump to search

dir
The SpartaDOS X DIR command
The SpartaDOS X DIR command
Developer(s)DEC, Digital Research, Microsoft, ICD, Inc.
Operating systemCP/M, MP/M, DOS, OS/2, Singularity, Microsoft Windows, ReactOS, AROS, VMS, RT-11, RSX-11, OS/8
TypeCommand
Screenshot of a Microsoft Windows Command Prompt window showing a directory listing.

In computing, dir (directory) is a command used for computer file and directory listing[1], specifically in the command line interface (CLI) of the operating systems CP/M[2], MP/M[3], DOS, OS/2, Singularity, Microsoft Windows, ReactOS, AROS[4] and in the DCL command line interface used on VMS, RT-11 and RSX-11.

The command is also supplied with OS/8 as a CUSP (Commonly-Used System Program) and available in the open source MS-DOS emulator DOSBox.

Unices[edit]

dir is not a Unix command; Unix has the analogous ls command instead. The Linux operating system, however, has a dir command that "is equivalent to ls -C -b; that is, by default files are listed in columns, sorted vertically, and special characters are represented by backslash escape sequences".[5]

See also[edit]

References[edit]

  1. ^ https://archive.org/details/1988-rugheimer-spanik-amigados-quick-reference
  2. ^ http://www.cpm.z80.de/manuals/cpm22-m.pdf
  3. ^ Digital Research (1981-09-25). MP/M-86 Operating System - User's Guide (PDF) (1 ed.). Pacific Grove, CA, USA: Digital Research. Archived (PDF) from the original on 2017-01-04. Retrieved 2017-01-04.
  4. ^ http://aros.sourceforge.net/documentation/users/shell/index.php
  5. ^ dir invocation (GNU coreutils) at www.gnu.org

External links[edit]