mktemp
Verified for current stable LTS
Mktemp Command: Create Temp File Custom Directory
Use for create temp file custom directory with Mktemp. Exact CLI syntax to create temp file custom directory using Mktemp.
When to use this: Use for create temp file custom directory with Mktemp.
Command Syntax
mktemp --tmpdir /<path/to/temporary_directory> mktemp --tmpdir /<path/to/temporary_directory> Live Command Builder
Final Command
mktemp --tmpdir /<path/to/temporary_directory> Command Breakdown
--tmpdir- Command Option
- Tool-specific option used by this command invocation.
FAQ
Purpose: Exact syntax to create temp file custom directory using Mktemp.
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
Mktemp Command: Create Empty Temp Directory Print Path
mktemp --directory Mktemp Command: Create Empty Temp File Print Path mktemp Mktemp Command: Create Empty Temporary Directory mktemp -d Mktemp Command: Create Empty Temporary File mktemp Mktemp Command: Create Temp File Custom Path Template mktemp </tmp/example.XXXXXXXX>