Linux exercise 3 - Filesystem

  • Important: For this exercise, install a program called tree with the following command: sudo apt install tree. Do not use ls command in this exercise!
  • This program can now be used to get a clear tree-like view of Linux filesystem.
  • Check the available options for the command through the command's help parameter and run the following directory listings using tree command:

    1. List only directories and one level from Linux root directory.
    2. List /var/log directory content with two levels and full path prefix for each file.
    3. List /bin directory content with owner information, size in human readable format and name starting with 'xs'.