Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

how to login a tty in startup

I want to execute some command on special tty (for example tty2) in my linux startup so every time the system reboots this commands execute on that tty. I used this link to do : http://www.humbug.in/2010/utility-to-send-commands-or-data-to-other-terminals-ttypts/ It works fine but problem is , in startup I need to login desired tty then execute the commands. Is there any way to login a tty by some command at the beginning? Thanks