Bash: fetch IP Address in a file using GNU grep
You can use below command grep -oE "\b([0-9]{1,3}\.){3}[0-9]{1,3}\b" filename.txt
Hello , We are a group a Linux System Administrators with knowledge on Linux, VmWare ,Storage , Bash and we love to learn new things and we love sharing what we know.