stanlo
Search This Blog
Showing posts with label
IP
.
Show all posts
Showing posts with label
IP
.
Show all posts
Tuesday, April 14, 2015
Match IP numbers with regex.
Print any IP address talking on port 21 in coming or out going.
Change the port number to any port that needs to be matched.
netstat -na | perl -ne '/((\d{1,3}\.){4}
21
)/ &&
print ;'
Older Posts
Home
Subscribe to:
Posts (Atom)