Open up the terminal and type either of the following two commands:
1. osql –L
or
2. sqlcmd –L
SharePoint Online | O365 | Azure | + legacy & productivity
Open up the terminal and type either of the following two commands:
1. osql –L
or
2. sqlcmd –L