Question: In Module 2 lecture I wanted to view the Linux directory tree structure, but I couldnt remember the command. The command I wanted is tree

In Module 2 lecture I wanted to view the Linux directory tree structure, but I couldnt remember the command. The command I wanted is tree. However, tree is not installed by default in CentOS. Your task is to install tree command and display the CentOS tree structure. You will need the skills covered in Module 1 and Module 2 to complete this assignment.

  1. Execute the command # yum install tree -y to install tree. (hint: see page 16 in the book).
  2. Execute the command $ tree -d -L 2 /
  3. Execute the command $ tree -d -L 1 /

[Screenshot here]

  1. Explain what each part of the command tree -d -L 1 / does.
    1. tree ________________________________________________________
    2. -d ________________________________________________________
    3. -L 1 ________________________________________________________

/ ________________________________________________________

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!