https://www.cyberciti.biz/faq/howto-search-find-file-for-text-string/
Find some text in many file inside a folder
grep "redeem reward" /home/tom/*.txt
grep and exclude or -v
display only the file that are not gunzip
...
jlk@ubuntu:~/open-nti$ more ./docker/telegraf/telegraf.conf | grep "#" -v | grep -v "^[[:space:]]*$"
[global_tags]
[agent]
interval = "10s"
round_interval = true
metric_batch_size = 1000
metric_buffer_limit = 10000
collection_jitter = "0s"
flush_interval = "10s"
flush_jitter = "0s"
debug = false
quiet = false
hostname = ""
omit_hostname = false
[[outputs.influxdb]]
precision = "s"
retention_policy = "default"
write_consistency = "any"
timeout = "5s"
[[inputs.statsd]]
service_address = ":8125"
delete_gauges = true
delete_counters = false
delete_sets = false
delete_timings = true
percentiles = [90]
convert_names = true
allowed_pending_messages = 10000
percentile_limit = 1000
udp_packet_size = 1500
...