1

For whatever reason, the Ctrl-Alt-Fn sequence has no effect on one of my Ubuntu machines; the sequence is interpreted as ordinary input. I need to get the system to a console.

Is there a command-line tool that can be used to switch consoles?

(I'm running Ubunty Jaunty at the moment. Yes I know it's old; I'm trying to march forward.)

JamesThomasMoon
  • 752
  • 1
  • 6
  • 18
Pointy
  • 881
  • 1
  • 8
  • 20

2 Answers2

8

I think the answer here which suggests using the command chvt should help (assuming I've understood your requirement correctly)

Neil
  • 265
  • 1
  • 5
  • Opps - saw you've just posted the same thing! At least I didn't get it wrong then! :-) – Neil Jun 18 '11 at 16:07
  • That works fine but only if you are logged into a shell. In console but without shell (i.e.not logged in), you cannot issue `chvt your-target-tty-nbr`. That's a problem sometimes. To cycle through yr consoles the simplest thing is to use `ALT+left (or right) arrow`. This OP is old. I only had this for reference. – Cbhihe 9 mins ago – Cbhihe Oct 06 '17 at 16:02
3

Found it: chvt is exactly what I was looking for. The console how-to has good stuff in it.

Pointy
  • 881
  • 1
  • 8
  • 20