nerdexam
CompTIACompTIA

XK0-005 · Question #1870

XK0-005 Question #1870: Real Exam Question with Answer & Explanation

Sign in or unlock XK0-005 to reveal the answer and full explanation for question #1870. The question stem and answer options stay visible for context.

System Management

Question

A server's IP address has been changed from 10.115.6.5 to 10.116.6.5. Because of this change, the application server needs to be reconfigured. Which of the following commands will allow the systems engineer to change the IP address in the /etc/app.cfg file quickly?

Options

  • Aawk '{rep(/10.115.6.5/"10.116.6.5")}" /etc/app.cfg
  • Bperl -i 's/10.115.6.5/10.116.6.5/g" /etc/app.cfg
  • Csed -i 's/10.115.6.5/10.116.6.5/g' /etc/app.cfg
  • Dpython -c "import sys;print file.replace('10.115.6.5','10.116.6.5')" <

Unlock XK0-005 to see the answer

You've previewed enough free XK0-005 questions. Unlock XK0-005 for full answers, explanations, the timed quiz mode, progress tracking, and the master PDF. Question stem and options stay visible so you can still see what's on the exam.

Topics

#sed#text manipulation#configuration management#command-line utilities
Full XK0-005 PracticeBrowse All XK0-005 Questions