Multiple choice technology operating systems

Which one of the following lines is correctly formatted as the last line of a /etc/printcap file?

  1. :mx#2:

  2. :mx#2

  3. :mx#2\

  4. None

Reveal answer Fill a bubble to check yourself
A Correct answer
Explanation

The /etc/printcap file format uses colon-separated fields, and lines (including the last) traditionally end with a colon. Option A shows :mx#2: with trailing colon, which is correct. Option B lacks the trailing colon, and C uses a backslash continuation marker (for multiline entries, not line endings).