mktemp
Verified for current stable LTS
Mktemp Command: Create Empty Temporary Directory
Use for create empty temporary directory with Mktemp. Exact CLI syntax to create empty temporary directory using Mktemp.
When to use this: Use for create empty temporary directory with Mktemp.
Command Syntax
mktemp -d mktemp -d Command Breakdown
-d- Command Option
- Tool-specific option used by this command invocation.
FAQ
Purpose: Exact syntax to create empty temporary 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 Temporary File
mktemp Mktemp Command: Create Temporary File Custom Directory mktemp -p /<path/to/temporary_directory> Mktemp Command: Create Temporary File Custom File Name Template mktemp -t <example.XXXXXXXX> Mktemp Command: Create Temporary File Custom Path Template mktemp </tmp/example.XXXXXXXX> Tar Command: Create A Gzipped Archive From A Directory Using Relative Paths tar czf <path/to/target.tar.gz> -C <path/to/directory> .