Linux Commands Reference - Complete Linux Command Guide

Comprehensive Linux command reference with 150+ commands. Search, filter by category, and view detailed usage examples.

Share
Back to commands

stat

Display file or filesystem status

Syntax

stat [OPTION]... FILE...

Common Options

-cCustom format
-fShow filesystem info
-LFollow symlinks
-tTerse format

Common Examples

stat file.txt

Show file status

stat -c "%s %n" file.txt

Show size and name only

Related Commands

Related Tools

More Code & Dev Tools