# Just use next format to combine 2 commands output in pipeline { command1 & command2; } #For example you can grep between output of 2 different commands ;) { command1 & command2; } | grep match_pattern