File Permissions – How to Recursively List Files with File Names, Folder Names, and Permissions

filesfindlspermissions

Is there anyway I can list files by typing a command in the shell which lists all the file names, folder names and their permissions in CentOS?

Best Answer

Have a look at tree, you may have to install it first. Per default tree does not show permissions, to show permissions next to the filename run

tree -p

which will recursively list all folders and directories within the current directory including permissions.

Related Question