Which command displays distribution and version details of the OS?

Prepare thoroughly for the Google Data Center Technician Exam. Utilize our engaging study tools, with flashcards, multiple-choice questions, hints, and explanations to ensure success. Ready yourself for the challenge ahead!

Multiple Choice

Which command displays distribution and version details of the OS?

Explanation:
OS distribution and version details are provided by the /etc/os-release file on most Linux systems. Displaying this file with a command like cat reveals fields such as NAME, VERSION, and VERSION_ID, giving you the distribution and its version in a readable form. Other commands don’t focus on OS identity: uname -a shows kernel information, not the distribution name or version; df -h reports disk usage; journalctl -p err -b shows system logs from the current boot. So reading /etc/os-release is the direct way to see the OS distribution and version.

OS distribution and version details are provided by the /etc/os-release file on most Linux systems. Displaying this file with a command like cat reveals fields such as NAME, VERSION, and VERSION_ID, giving you the distribution and its version in a readable form. Other commands don’t focus on OS identity: uname -a shows kernel information, not the distribution name or version; df -h reports disk usage; journalctl -p err -b shows system logs from the current boot. So reading /etc/os-release is the direct way to see the OS distribution and version.

Subscribe

Get the latest from Examzify

You can unsubscribe at any time. Read our privacy policy