---

How to Limit Depth of tree for Recursive File Listing

Usually, the ls command is used in Linux to display files and folders. It is an inbuilt command in GNU/Linux. However, it has its shortcomings, for example, there is no option to view directories recursively.

a new command called ‘tree’ which is used for recursive file listing to limit on the depth of file structure to be displayed.

Get the Free Newsletter!

Subscribe to Developer Insider for top news, trends, & analysis