Tree (command)

tree
Developer(s)Steve Baker, DR, Microsoft, IBM, Itautec, Datalight, Toshiba, Dave Dunfield, Asif Bahrainwala
Written inUnix-like, FreeDOS, ReactOS: C
Operating systemUnix, Unix-like, MS-DOS, PC DOS, FlexOS, SISNE plus, ROM-DOS, 4690 OS, PTS-DOS, OS/2, eComStation, ArcaOS, Windows, DR DOS, FreeDOS, ReactOS
PlatformCross-platform
TypeCommand
LicenseUnix, Unix-like, FreeDOS, ReactOS: GPLv2

In computing, tree is a recursive directory listing command or program that produces a depth-indented listing of files. Originating in PC- and MS-DOS, it is found in Digital Research FlexOS,[1] IBM/Toshiba 4690 OS,[2] PTS-DOS,[3] FreeDOS,[4] IBM OS/2,[5] Microsoft Windows,[6] and ReactOS. A version for Unix and Unix-like systems is also available.

The tree command is frequently used as part of a technical support scam, where the command is used to occupy the command prompt screen, while the scammer, pretending to be technical support, types additional text that is supposed to look like output of the command.[7]

  1. ^ FlexOS User's Guide (PDF) (Version 1.3 ed.). Digital Research. November 1986. 1073-2003-001. Archived from the original (PDF) on 2019-09-25. Retrieved 2018-09-16.
  2. ^ "Users Guide". archive.org.{{cite web}}: CS1 maint: url-status (link)
  3. ^ "PTS-DOS 2000 Pro User Manual" (PDF). Buggingen, Germany: Paragon Technology GmbH. 1999. Archived (PDF) from the original on 2018-05-12. Retrieved 2018-05-12.
  4. ^ "FreeDOS group -- FreeDOS Base". FreeDOS on ibiblio.org.
  5. ^ "JaTomes Help - OS/2 Commands". Archived from the original on 2019-04-14. Retrieved 2019-07-27.
  6. ^ "Tree". Microsoft Docs. 3 February 2023.
  7. ^ "The World of the Technical Support Scam". The State of Security. 2016-11-09. Retrieved 2019-12-29.