I have a bash script that I want to redirect all the rest of the output into a file.#!/bin/bash# the part I don't know  ${file}echo spo echo carcat ${file}output should be spo\ncar\n
Redirect all standard out for rest of script
bash;shell;io redirection