Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

bash temporary files

# The next line will create a temporary file and return its path.
path="$(mktemp)"
echo "Hello, World!" > "$path"
Source by softwareengineering.stackexchange.com #
 
PREVIOUS NEXT
Tagged: #bash #temporary #files
ADD COMMENT
Topic
Name
9+1 =