Example:
find . -name 'audit_log*.gz' -print -exec gunzip -c {} \| grep IP \;
Need to add a key to this to get: -file name. -list IP from audit_log*.gz files.
Example:
find . -name 'audit_log*.gz' -print -exec gunzip -c {} \| grep IP \;
Need to add a key to this to get: -file name. -list IP from audit_log*.gz files.
Copyright © 2021 Jogjafile Inc.
You've used the semi-column incorrectly. It should be at the end of the find command and before the pipe. Try this one-liner: