List of questions
Related questions
Question 29 - CS0-003 discussion
A security analyst is writing a shell script to identify IP addresses from the same country. Which of the following functions would help the analyst achieve the objective?
A.
function w() { info=$(ping -c 1 $1 | awk -F ''/'' 'END{print $1}') && echo ''$1 | $info'' }
B.
function x() { info=$(geoiplookup $1) && echo ''$1 | $info'' }
C.
function y() { info=$(dig -x $1 | grep PTR | tail -n 1 ) && echo ''$1 | $info'' }
D.
function z() { info=$(traceroute -m 40 $1 | awk 'END{print $1}') && echo ''$1 | $info'' }
Your answer:
0 comments
Sorted by
Leave a comment first