bash - Redirect output to two unnamed pipe Linux -
i in bash script:
tail -n0 -f /var/log/kern.log > $pipe1 , $pipe2 where $pipe 2 unnamed pipes. know can done using tee command not work.
this should work:
tail -n0 -f /var/log/kern.log | tee "$pipe1" "$pipe2" >/dev/null the tee output being redirected /dev/null , prevented printed on terminal.
Comments
Post a Comment