Question : put bash script execution output in a file
Answered by : hicham-bouzara
To use bash redirection,
you run a command,
specify the > or >> operator,
and then provide the path of a file you want the output redirected to.
> redirects the output of a command to a file,
replacing the existing contents of the file.
Source : https://www.howtogeek.com/299219/how-to-save-the-output-of-a-command-to-a-file-in-bash-aka-the-linux-and-macos-terminal | Last Update : Wed, 06 Apr 22