Ubuntu – How to access a tty from the terminal

gnome-terminalttyvirtual-terminal

How can I access a tty (eg tty1) from the gnome-terminal? Can I set up a profile which does that?

I know the switch using Ctrl+Alt+F1-6

Best Answer

Some options:

  • sudo chvt 1 will bring you to the first virtual console. Putting this in a .profile should not be very useful.
  • Snooping on a running virtual console is allegedly possible with ttysnoop.