Put Bash Script Execution Output In A File

[Solved] Put Bash Script Execution Output In A File | Php - Code Explorer | yomemimo.com
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

Answers related to put bash script execution output in a file

Code Explorer Popular Question For Php