Answers for "ip extraction from the log files bash script kali"

0

ip extraction from the log files bash script kali

while read line; do
  ip="$(grep -oE '[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}' <<< "$line")"
  echo "$ip"
done < "abd"
Posted by: Guest on June-17-2021

Browse Popular Code Answers by Language