Friday, May 3, 2024
 Popular · Latest · Hot · Upcoming
46
rated 0 times [  46] [ 0]  / answers: 1 / hits: 61555  / 1 Year ago, thu, may 11, 2023, 8:37:23

I can look in properties of this folder but I want to get properties fast and in digits (octal, e.g. 755, etc.)



What am I to type in terminal to know the chmod of the file or folder I want?


More From » directory

 Answers
1

What am i to type in terminal to know the chmod of the folder i want?




stat -c %a FILE_OR_FOLDER_PATH



e.g. stat -c %a /etc shows 755


[#37957] Friday, May 12, 2023, 1 Year  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
bsorbedeldy

Total Points: 315
Total Questions: 110
Total Answers: 108

Location: Reunion
Member since Mon, Dec 28, 2020
3 Years ago
;