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>

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

Back to Xdg Mime directory