bash: print stderr in red color

command 2> >(while read line; do echo -e "\e[01;31m$line\e[0m" >&2; done)

Leave a Comment

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)