Crypto Ticker:
Teknologi from nixCraft

Linux / UNIX View Only Configuration File Directives ( Uncommented Lines of a Config File )

Vivek Gite
Sep 21, 2024 at 12:33
1 Views
0 Comments
Linux / UNIX View Only Configuration File Directives ( Uncommented Lines of a Config File )
See all GNU/Linux related FAQ

Most Linux and UNIX-like system configuration files are documented using comments, but sometimes I just need to see a line of configuration text in a config file. How can I view just the uncommented configuration file directives from squid.conf or httpd.conf file? How can I strip out comments and blank lines on a Linux or Unix-like system?

Love this? sudo share_on: Twitter - Facebook - LinkedIn - Whatsapp - Reddit

The post Linux / UNIX View Only Configuration File Directives ( Uncommented Lines of a Config File ) appeared first on nixCraft.

Was this helpful?
Share:

Comments (0)

Please login to post a comment

No comments yet. Be the first to comment!