Multiple choice technology

How do you tell the server to use your local display (197.42.197.67) for X-windows?

  1. set display local

  2. setenv DISPLAY 192.42.197.67:0.0

  3. setdsp x 192.42.197.67

  4. setenv display local

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

In Unix shells, the DISPLAY environment variable tells X-windows where to render. The setenv command (csh/tcsh) sets it with format hostname:display.screen. Option B correctly uses setenv with proper format (note: the IP in the question has a minor inconsistency but the command syntax is correct). Options A and D incorrectly use 'local' instead of an IP address. Option C uses a non-existent command.