Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

combine commands bash

# 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
Source by dev.to #
 
PREVIOUS NEXT
Tagged: #combine #commands #bash
ADD COMMENT
Topic
Name
9+5 =