All the files involved begin with "cfg_map". So from the root Nagios directory where you find "side.php": find . -name "cfg_map*" -exec rm {} \; Open "side.php" and remove the line with "cfg_map_" in it.