# List octal file permissions in bash

DevFeed: [List octal file permissions in bash](<https://devfeed.tech/articles/list-octal-file-permissions-in-bash-27643.md>)

Original publisher: [Read original article](<https://gagor.pro/2016/02/list-octal-file-permissions-in-bash/>)

Author: Tom

Published: 2016-02-24T00:00:00Z

Content type: tutorial

Language: en

Sources: [Tomasz Gągor](<https://devfeed.tech/sources/tomasz-gagor.md>)

Topics: [Bash](<https://devfeed.tech/topics/bash.md>)

Tags: [bash](<https://devfeed.tech/tags/bash.md>), [chmod](<https://devfeed.tech/tags/chmod.md>), [cli](<https://devfeed.tech/tags/cli.md>), [command](<https://devfeed.tech/tags/command.md>), [command-line](<https://devfeed.tech/tags/command-line.md>), [file-permissions](<https://devfeed.tech/tags/file-permissions.md>), [files](<https://devfeed.tech/tags/files.md>), [format](<https://devfeed.tech/tags/format.md>), [how-to](<https://devfeed.tech/tags/how-to.md>), [linux](<https://devfeed.tech/tags/linux.md>), [octal](<https://devfeed.tech/tags/octal.md>), [permissions](<https://devfeed.tech/tags/permissions.md>), [stat](<https://devfeed.tech/tags/stat.md>)

## AI overview

A quick Bash tip for listing files with their octal permissions using the stat command, with an option to include human-readable attributes.

## Source excerpt

A quick tip on how to list files with their octal permissions in bash using the stat command.