Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.
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.
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
sudo usermod -G tty -a pi
ls -l /dev/tty0
crw------- 1 root root 4, 0 May 8 19:05 /dev/tty0
pi adm tty dialout cdrom sudo audio video plugdev games users netdev input spi gpio
Required, but never shown