Linux

stat

SafeFile status details

stat <file>

Shows permissions (incl. octal), owner, timestamps and inode — precise digging for permission issues.

Examples

  • stat -c '%a %U:%G %n' /var/wwwCompact perms and owner

Syntax

stat [file]

Before you run it

Read only.

Related commands

The same reference, with no signal at all

Every command and flow from this site, held on your device and searchable with no connection. Free to install, no ads.

Get it free on the App Store