Makerere University

Enter a keyword or two into the search box above and click search..

How to get octal file permissions from command line?

You are here

Simply try the following..

stat -c "%a %n" *

Replace * with the relevant directory or the exact filename that you want to examine.

Category: