I would like to view files exactly like I can view proccess using pstree.

So is there something like:

treeview --maxdepth 2 

that would give me what I need?


You can use the tree utility for this:

tree -L 2

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.