Фотография
click to show
click to show
🔰 Linux Crash Course - The stat command
The ls command is often the go-to tool for checking a file’s attributes, such as permissions, ownership, and timestamps.
But what if you need more detailed information about a file or even the file system it resides on? That’s where the stat command comes in.
The stat command, short for “status,” is a powerful utility in Linux that provides detailed insights into files and file systems.
While ls gives a quick overview, stat dives deeper, offering comprehensive data like block size, inode number, and security context.
It's especially handy for examining file timestamps, such as the last access, modification, or change times.
78 ·