su(1) -c "echo "hello" > /dev/console"
change user ID or become superuser
-c, --command COMMAND
    Specify a command that will be invoked by the shell using its -c.
source manpages: su