hash
remove all hashes (#) from config files
Nice tip - how to remove all hashes from config (or another files).
I know just two methods, but this one I find best:
grep -v ‘^#’ file > file.new
second one (this one overwrite the main file):
sed -e ‘/^#/d’ -i file
you can even use vim, but it will remove all lines with #, not starting from hash.
:g/pattern/d