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 : 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