"The graphics driver was recently updated on a system. Now, the graphical user interface (GUI) is not displaying, preventing the user from logging in. You need to access the system locally. Which of the following commands will access the tty2 terminal?"

Respuesta :

You can access a full-screen TTY session by holding down the Ctrl+Alt keys, and pressing one of the function keys. Ctrl+Alt+F3 will bring up the login prompt of tty3.  If you log in and issue the tty command, you'll see you are connected to /dev/tty3.

Explanation:

  • tty2 is short for teletype, but it's more popularly known as terminal.
  • It's basically a device (implemented in software nowadays) that allows you to interact with the system by passing on the data (you input) to the system, and displaying the output produced by the system
  • You can either : press ctrl+alt+F7  Or  run the command startx if the above commands do not work.
  • The tty command of terminal basically prints the file name of the terminal connected to standard input.
  • In Linux, there is a pseudo-teletype multiplexor which handles the connections from all of the terminal window pseudo-teletypes (PTS). The multiplexor is the master, and the PTS are the slaves.
  • The multiplexor is addressed by the kernel through the device file located at /dev/ptmx.
  • The -s (silent) option causes tty to generate no output.