What is command to find the list of Android connected devices on different operating system?

Command is same for all operating system whether you are on Windows/Mac or Linux. if you need show devices connect, first check android debug is enable and then on command line/Terminal, run below command

$ adb devices