Retrieve gateway serial number via linux command (WisgateOS)


I have several gateways deployed and my only way to connect to the gateway at the moment is via SSH. I would like to be able to retrieve the gateway serial number via a linux command via terminal (on wisgateOS), can you send me this command that I can’t find.
Thank you very much for your help