bash echo to stderr

Shell
>&2 echo "error"
Source

Also in Shell: