cat /etc/squid/squid.conf | egrep -v "(^#.*|^$)"
Penjelasan
egrep -v means leave the following out ^#.* means patterns that begin with a # | means or ^$ means patterns that are empty
Updates
update #1
Kiriman Darwin Award Winner bisa memfilter comments dengan spasi sebelum #,cat /etc/squid/squid.conf | egrep -v "^s*(#|$)"
Semoga bermanfaat
sumber
2 komentar:
mengaisrejeki.blogspot.co
mengaisrejeki.blogspot.com
Post a Comment