Linux / UNIX View Only Configuration File Directives ( Uncommented Lines of a Config File )
From nixCraft: Linux Tips, Hacks, Tutorials, And Ideas In Blog Format (RSS/FEED) (Vivek Gite) to All on Fri Jan 10 15:26:19 2025
M
ost 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
.
Who's Online
Recent Visitors
Rixter
Sat Dec 6 07:34:36 2025
from
Madison, Nc
via
SSH
Geek2
Fri Dec 5 10:55:11 2025
from
Euclid, Oh
via
Telnet
Cthulu
Thu Dec 4 03:12:21 2025
from
Area Code 604
via
Telnet
John F Kennedy
Thu Dec 4 01:39:08 2025
from
Crazyworldbbs.Com:2323
via
Telnet