20 Examples: Make Sure Unix / Linux Configuration Files Are Free From Syntax Errors
Posted on: 04/06/2012 10:29 AM

nixCraft posted 20 example on how to check Linux configuration files to be error free

20 Examples: Make Sure Unix / Linux Configuration Files Are Free From Syntax Errors


In Linux and UNIX in general, services are configured using various text files,in the /etc/ directory trees. A typical server system could have dozens of configuration files. It is important that you check the validity of the configuration file. In some cases it is possible to to check the sanity of the special data (such as keys) or directories (such as /var/lib/cache/). Text files are easier to manage remotely. You can use ssh and a text editor. If there is an error in configuration, server may not start. This may result into a disaster. In this article I will explains howto find out a syntax error for popular servers and test configuration file for syntax errors.



Printed from Linux Compatible (http://www.linuxcompatible.org/news/story/20_examples_make_sure_unix_linux_configuration_files_are_free_from_syntax_errors.html)