Multiple choice technology operating systems

what is the tree command use in unix.

  1. displays the tree structure of the current directory files

  2. displays the process tree structure

  3. displays the tree structure of the current directory files along with access and modification times

  4. we dont have it in unix

Reveal answer Fill a bubble to check yourself
A Correct answer
Explanation

The tree command in Unix/Linux displays the directory structure in a hierarchical tree format, showing files and subdirectories. It does not show process information (that would be ps) and basic tree does not include timestamps by default.

AI explanation

The tree command does exist on Unix/Linux systems (on some distros it must be installed via apt-get/yum, but it is a standard utility). Run with no arguments, it recursively lists the current directory's files and subdirectories in an indented, hierarchical tree format. It does not show file access/modification times unless the -D flag is passed. So the correct answer is that it displays the tree structure of the current directory's files.