عني
To check open ports using the command line, you can utilize various tools available on different operating systems. On Windows, you can use the Command Prompt or PowerShell, while on Unix-like systems such as Linux or macOS, you can use the Terminal.