Display Linux directory permissions numerically

Needed a quick way to do this and found…”stat -c “%a %n” — *”. I needed this because I wanted to create a directory in Go, and it was looking for a numerical permission. Sometimes you just want a quick answer so you can move on rather than learning ways to calculate an answer to impress a system administrator.