Create temp files and directories with mktemp in Linux

Опубликовано: 04 Март 2026
на канале: PaBlo Tech
2,116
6

If you're need to create a temporary file or directory, I highly recommend "mktemp" for creation. It's super easy to use and creates random names for every purpose.

$~ mktemp --suffix=.txt http://file.XXX
$~ mktemp -d folder.XXXX