The idea is: if I remotely ssh into my Raspberry Pi, is there a way to echo to the Raspberry Pi's terminal?

Assuming I haven't entered desktop mode.

1 Answer 1


The console is on /dev/tty0 so

echo string >/dev/tty0

You might have to add yourself to the tty group

sudo adduser pi tty
  • I did the second line, still permission denied to tty0 :(
    – andykais
    May 8, 2015 at 18:23
  • You have to log in again before changes like this are effective. I'm not familiar with joan's use of adduser here, so if that doesn't work, try sudo usermod -G tty -a pi (and login again).
    – goldilocks
    May 8, 2015 at 18:32
  • I have ran both add user commands, both work, but permission is still denied to tty0
    – andykais
    May 8, 2015 at 18:51
  • Did you close the ssh session and restart? Are you using Raspbian? What does ls -l /dev/tty0 report? What does groups report? tty0 is tty digit zero.
    – joan
    May 8, 2015 at 19:03
  • ls -l /dev/tty0 reports crw------- 1 root root 4, 0 May 8 19:05 /dev/tty0 and groups reports pi adm tty dialout cdrom sudo audio video plugdev games users netdev input spi gpio I beleive this works when I am root user, I just cannot seem to add pi to the list of users (and yes I have reboot each time)
    – andykais
    May 8, 2015 at 19:18

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.