bash concatenate output of two commands code example
Example: bash combine output from two commands
# Basic syntax:
{ command_1 ; command_2 ; ... } > output_file
# Where the standard outputs of command_1, command_2, and any others
# used will be printed (in order of the commands) to the output_file
# Note, adding a space between the commands and the braces {} and
# semicolons ; can help avoid syntax issues with the commands