bash store information in temperary file script code example Example: linux bash temporary file Click to copytemp_file=$(mktemp) # do something with the file rm ${temp_file}