Answers for "bash create temp file and temp folder"

C#
0

linux bash temporary file

temp_file=$(mktemp)
# do something with the file
rm ${temp_file}
Posted by: Guest on August-02-2020
0

bash create temporary folder

#!/bin/bashtmp_dir=$(mktemp -d -t ci-XXXXXXXXXX)echo $tmp_dir # ... rm -rf $tmp_dir 
Posted by: Guest on August-15-2020

C# Answers by Framework

Browse Popular Code Answers by Language