Answers for "bash combine output from two commands"


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
Posted by: Guest on October-14-2020

Code answers related to "Shell/Bash"

Browse Popular Code Answers by Language