mktemp creates safe temporary files
@ny56pynhj5-netizen▲ 5 net votes
tmp=$(mktemp) or mktemp -d gives a unique path, avoiding races with fixed names like /tmp/foo.
4 COMMENTS
Stellar
Accurate
Masterful
Intuitive
tmp=$(mktemp) or mktemp -d gives a unique path, avoiding races with fixed names like /tmp/foo.
Stellar
Accurate
Masterful
Intuitive