xdg-mime
Verified for current stable LTS
Xdg Mime Command: Display Mime Type File Linux
Use for display mime type file linux with Xdg Mime. Exact CLI syntax to display mime type file linux using Xdg Mime.
When to use this: Use for display mime type file linux with Xdg Mime.
Command Syntax
xdg-mime query filetype <path/to/file> xdg-mime query filetype <path/to/file> Live Command Builder
Final Command
xdg-mime query filetype <path/to/file> Command Breakdown
xdg-mime is the base executable for this command.
FAQ
Purpose: Exact syntax to display mime type file linux using Xdg Mime.
Test path: Replace placeholders and run destructive commands in a disposable workspace first.
Flag behavior: Tool version, platform, and shell can change behavior.
Improve This Command
Suggest a correction, safer default, or version-specific note for this entry.
Related Operations
Xdg Mime Command: Display Default App Png Linux
xdg-mime query default <image/png> Xdg Mime Command: Display Default App Specific File Linux xdg-mime query default $(xdg-mime query filetype <path/to/file>) Xdg Mime Command: Set Default App Png Jpeg Linux xdg-mime default <imv.desktop> <image/png> <image/jpeg>