· file-system
ls and file
Two of the most fundamental commands for managing and inspecting files in Linux are file $^1$ $^2$ and ls $^3$ $^4$:
| Command | Purpose | Key Strength |
|———|———|————–|
| ls | List files and their metadata | Permissions, size, timestamps at a glance |
| file | Identify the real type of a file | Content-based detection, ignores extensions |