dir (command)

The SpartaDOS X DIR command
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

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

References

  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
This article is issued from Wikipedia. The text is licensed under Creative Commons - Attribution - Sharealike. Additional terms may apply for the media files.