chvt
The chvt(1) command is use to switch between virtual terminals (tty).
Display the current tty in use with the who(1), w(1) or tty(1) commands.
The command chvt N makes /dev/ttyN the foreground terminal (root privileges required to switch tty).
sudo chvt 3