Save the answer using the absolute path in the file /home/bob/ip

Find the file under /etc directory that contains the string 172.16.238.197. Save the answer using the absolute path in the file /home/bob/ip

sudo grep -ir 172.16.238.197 /etc/

im stuck, any help

I have updated the exact command with the redirect operator in the hints right now.

let us know should you have any other questions.