Gareth
Tags
Categories
Archive
Pages
Show me the uncommented lines in a file
grep -v '^#' file_with_lots_of_comments_and_blank_lines.conf |grep -v '^$'
← Previous
Archive
Next →
Please enable JavaScript to view the
comments powered by Disqus.
blog comments powered by
Disqus
Published
24 September 2012
Category
regex
Tags
vim
16
less
1
regex
4
cat
1
linux
25
cli
17
hacking
13