Bash - Redirect both standard output and standard error to same file - LinuxConfig.org

The Bash shell is the most popular shell on Linux systems, and to use the shell efficiently, you need a little knowledge about Bash shell redirections. This is also an essential step in learning Bash scripting.


This is a companion discussion topic for the original entry at https://linuxconfig.org/bash-redirect-both-standard-output-and-standard-error-to-same-file