SERVER CONFIGURATION FILE SYNTAX CHECKING COMMANDS
SERVER CONFIGURATION FILE SYNTAX CHECKING COMMANDS Basically configuring servers in Linux/*nix include editing of configuration files and saving them. Once editing the files if any syntax error is there and when we start the service they will show some wearied errors which we cant resolve. For counter attacking this type of issues for each service there will be one command to check this syntax errors before starting of the service/server, I have collected these commands from my experience and from some of my friends. Please feel free to comment on this if you know some other commands so that I will update my post. SSHD server check for syntax error ========================= sshd -t FTP server check for syntax error ========================= #vsftpd DNS server check for syntax error ========================== For checking syntax errors in main configuration file.. #named-checkconf main-config-file Example: #named-checkconf named.conf Syntax OK #named-checkzone doma...