Removendo comentários (#) dos arquivos de configuração

porplague70

Removendo comentários (#) dos arquivos de configuração

REMOVENDO COMENTÁRIOS (#) DOS ARQUIVOS DE CONFIGURAÇÃO

Já teve uma caso de precisar verificar somente as linhas que não estão comentadas no seu arquivo de configuração? Me encontrei com um caso assim, ao pegar um arquivo.conf que eu já usava no Squid e implementar em uma nova máquina.

OBS: Somente para teste. Copie o arquivo para a pasta teste. Exemplo:

# cp /etc/squid/squid.conf /tmp/squid.conf-teste
# egrep -v “^#|^$” /tmp/squid.conf-teste > /tmp/squid.conf-teste2

Entre no arquivo com VI e irá perceber que as linhas comentadas não estão mais presentes no arquivo.

Sobre o Autor

plague70 administrator

1 comentário até agora

MaricruzPostado em7:18 pm - mar 1, 2024

Dear Sir,

Google’s “Helpful Content Update” got you down again?

At SEO-Depot.com we offer a range of SEO services that will recover and maintain rankings.

Our Link-Building Strategies grow and expand your rankings and range of keywords dramactically with 100% succes rate.

We offer Link-Building Services and SEO training and advice tailored to your website’s SEO needs.
or Full SEO onsite Services.

Local SEO is available for local businesses that will change the way you think about Local SEO.
More Terms, brnad matching services, and locations by city, county or province.

Shopping Site? No worries, we’ll show you how to maximize your exposure!

With Chat GPT being used to create ranking content and Google’s Generative AI Experience, competing is more challenging than ever.

Our training or Full EO services for content creation for blogs will help you gain the ranking authority your site needs.

Most Important is our services are affordable!

SEO Depot
https://seo-depot.com/offer/

We also offer FREE website audits for a technical analysis of your site and customized SEO best coaching practices for your site, and more so you can maximize SEO results.

Our services work for the local SEO business to Global SEO Requirements, inflating websites precedence and responses to searches more broadly
and with greater performance.

Experience a new approach to SEO! Reach out to us wuth our on-sit chat app.

Let us show you what we can do for your business’s website promotion. Request a Free SEO Audit!

Hope you find this useful,

Sa***@se*******.com

Deixe uma resposta