Last active
May 10, 2022 09:47
-
-
Save gdemir/43f0ea0a806cfdaf8665a52b2882e8aa to your computer and use it in GitHub Desktop.
Dosya İçerisindeki Tekil(tekrar etmeyen) IP'lerin Sayılarını Gösterme
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#! /bin/bash | |
log_filename=$1 | |
grep -o "[0-9]\+\.[0-9]\+\.[0-9]\+\.[0-9]\+" $log_filename | sort -u | wc -l |
Author
gdemir
commented
May 10, 2022
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment