Sacar IPs de un ficehro con grep

Server# grep -o '[0-9]\{1,3\}\.[0-9]\{1,3\}\.[0-9]\{1,3\}\.[0-9]\{1,3\}' error_log

{lang: 'es'}
This entry was posted in Sysadmin. Bookmark the permalink.

Deixa un comentari

L'adreça electrònica no es publicarà

Podeu fer servir aquestes etiquetes i atributs HTML: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>