Bash Scripting - File Operations in Scripts
Identify the error in this script snippet:
tempfile=mktemp echo $tempfile rm $tempfile
tempfile=mktemp echo $tempfile rm $tempfile
tempfile=mktemp sets the string 'mktemp', not the command output.tempfile=$(mktemp) to run the command and assign its output.15+ quiz questions · All difficulty levels · Free
Free Signup - Practice All Questions