10 ways to check ports in Linux to help troubleshoot systems