Created
February 6, 2017 17:57
-
-
Save cmattoon/67fbf85f6ca9f2631101d47feccc2a1b to your computer and use it in GitHub Desktop.
This file contains hidden or 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
# Display all log entries for each MAC address | |
cat /var/log/api-fetcher.log | grep 'Sending Group SMS for' | |
# Get a list of MAC addresses only | |
cat /var/log/api-fetcher.log | grep 'Sending Group SMS for' | cut -d' ' -f 9 | |
# Get a list of unique MAC addresses | |
cat /var/log/api-fetcher.log | grep 'Sending Group SMS for' | cut -d' ' -f 9 | uniq |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment