Do you want to remove and ignore all comment lines from your Unix or Linux config files? Try the simple grep syntax:
grep -E -v "^#|^$" /path/to/file.conf
grep -Ev 'regex' nginx.conf | bat -l nginx
See https://www.cyberciti.biz/faq/shell-display-uncommented-lines-only/ for more info. #linux #unix #freebsd
076萌SNS is a social network, courtesy of 076. It runs on GNU social, version 2.0.2-beta0, available under the GNU Affero General Public License.
All 076萌SNS content and data are available under the Creative Commons Attribution 3.0 license.