If our Linux server is configured to run as a web server, there is a chance that the web server and the web application hosted on the web server may have vulnerabilities. In such a cases, we can use a web application scanning tool to identify these vulnerabilities, and Nikto is one such open source web scanner.
It can be used with any web server and can scan for a large number of items to detect vulnerabilities, misconfigurations, risky files, and so on.