With cmd.exe's interpreter this is easy:
echo testline > .\test.txt && c:\windows\system32\notepad.exe .\test.txt
What is the equivelent to this with bash?
For instance, vim doesn't execute when I run the following:
./check_nrpe -H 192.168.100.20 -c CheckEventLog -a MaxWarn=1 MaxCrit=1 file='Security' filter=out filter+eventType==auditFailure filter+generated=\<10m filter+eventID==534 filter+message=substr:'mbrown' descriptions > test1.csv && vim test1.csv
Does it have to do with the double redirector?