Using a bash script, how do you save information in a file, without printing it on the console? I've written a script that requires the user to enter a value. This value has to be logged in a text file, without printing it on screen. So far I've written:
echo "x = "
read v_x
echo $v_x > temp.txt
but that prints it on the screen as well as saving it in the file.