XK0-005 · Question #267
A systems administrator is using a Linux laptop to troubleshoot network devices. The administrator runs the following command: # screen /dev/USB0 Which of the following does this command MOST likely…
The correct answer is D. It allows the administrator to interact with the character device connected to USB0. The screen /dev/USB0 command opens a terminal session that connects to the specified serial port, allowing direct interaction with a device attached via a USB-to-serial adapter. This is commonly used for console access to network equipment.
Question
A systems administrator is using a Linux laptop to troubleshoot network devices. The administrator runs the following command:
screen /dev/USB0 Which of the following does this command MOST likely accomplish?
Options
- AIt copies the network traffic from the device connected to USB0 and screens out rejected traffic.
- BIt logs all troubleshooting output from the monitor to external USB0 storage.
- CIt monitors USB0 waiting for a network device to be connected to it as an Ethernet device.
- DIt allows the administrator to interact with the character device connected to USB0.
How the community answered
(35 responses)- A3% (1)
- B17% (6)
- C9% (3)
- D71% (25)
Why each option
The `screen /dev/USB0` command opens a terminal session that connects to the specified serial port, allowing direct interaction with a device attached via a USB-to-serial adapter. This is commonly used for console access to network equipment.
The `screen` command does not inherently copy or screen network traffic; it manages terminal sessions or serial connections.
While `screen` can log output, its primary function with a device path is to establish an interactive connection, not just log to external storage.
The command immediately attempts to connect to the specified device and does not monitor for a connection or treat it as an Ethernet device.
The `screen` command, when provided with a device path like `/dev/USB0`, establishes a serial connection to that character device. This enables a systems administrator to send commands and receive output directly from a connected network device or other serial console, facilitating direct interaction and troubleshooting.
Concept tested: Linux serial console interaction via `screen` command
Source: https://man7.org/linux/man-pages/man1/screen.1.html
Topics
Community Discussion
No community discussion yet for this question.