Hi there, need some help
This is what i want to do:
I want to check my auth.log for failed login attempts and extract the ip numbers of the remote host.
The problem im having is to get Just the IP and nothing else.
Tried doing it with sed but its complicated(or maybe im just stupid). Looking for something like "print everything that matches the pattern "numbers.numbers.numbers.numbers" " but i cant get it working.
Can someone help me out? Dont have to be sed but i guess it would be the best for this task.