Command-line to TTY1 from GUI
I need to know a terminal/bash/shell command for switching to TTY1 (/dev/tty1) from the graphical user interface. Like when pressing Ctrl+Alt+F1. I'm working on a script that will make it easier to update and install the latest nVidia drivers.
Is there even a way to do this?