Linux Commands

Quick summary of common used program in Linux.


tree

Print a folder structure.

Command:
tree /home/admin/TreeFolder/

Output:

/home/admin/TreeFolder/
├── SubTreeFolder
│   └── SubTreeFile
└── TreeFile

namei

Follow a pathname until a terminal point is found.

Command:
namei /home/admin/

Output:

f: /home/admin/
 d /
 d home
 d admin

Lorenzo Cesana 2025/06/18 09:18