grep config file and show non commented lines only
grep -v '^$' /etc/filebeat/filebeat.yml |grep -v '^ *#'
Written by Yuvaraj
Related protips
Have a fresh tip? Share with Coderwall community!
Post
Post a tip
Best
#Config
Authors
Sponsored by #native_company# — Learn More
#native_title#
#native_desc#