XK0-005 · Question #1251
XK0-005 Question #1251: Real Exam Question with Answer & Explanation
Sign in or unlock XK0-005 to reveal the answer and full explanation for question #1251. The question stem and answer options stay visible for context.
Question
A Linux administrator recently changed the IP addresses of all the web servers from 10.10.50.x to 10.10.100.x. The administrator needs to update the serverlist.txt file to reflect the change. The file contains the following: 10:WebSvr01:10.10.50.21:Main 11:WebSvr02:10.10.50.22:Acconting 12:WebSvr03:10.10.50.23:Intranet 20:NFS01:10.10.20.21:FileServer 30:SMTP01:10.10.30.31:Email Which of the following commands will change the IP addresses and update the files in place?
Options
- Ased 's|.50|.100|g' serverlist.txt
- Bsed -g 's|.50|.100|a' serverlist.txt
- Csed -i 's|.50|.100|' serverlist.txt
- Dsed -i 's|.50|.100|g' serverlist.txt
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.