Unable to get the server IP address via CS:GO "status" command in linux

Solution 1:

That string is a SteamID for a Steam Datagram Relay enabled server. It is intended to hide the public IP address from players on the server, along with some other benefits, such as authentication, encryption, rate-limiting, protection from DOS attacks, and in some cases better ping.

Support for SDR was added to CSGO in 2016 according to this Reddit post by a Valve employee. Presumably, all CS:GO Public Matchmaking servers have migrated to SDR and do not expose the public IP address to players connected to it. In the same Reddit post, the author comments:

You can tell that you are playing over SDR because the connect address will not be an IP address like xxx.xxx.xxx.xxx, it will look like “=[A:n:nnnnnnn]”

To answer your title question, the server IP address can be obtained on Linux (and Windows) using the "status" command, unless the server is using SDR, in which case the SteamID will be displayed instead of the IP address.

If the server is using SDR then you are unlikely to obtain the IP address using "white hat" methods, since one of the fundamental purposes of SDR is to keep the IP address secret from general knowledge.