How to Limit Depth of tree for Recursive File Listing

Linux Tux

Feb 22, 2021, 22:00 (0 Talkback[s])
(Other stories by LinuxShellTips)

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.

Complete Story


Read Article At linuxtoday.com