chvt

Usage: chvt N

Change the foreground virtual terminal to /dev/ttyN