Which command displays distribution and version details of the OS?

Study for the Google Data Center Technician Exam. Utilize flashcards and multiple choice questions, complete with hints and detailed explanations. Get prepared for your certification!

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