A quick general overview of SCPI command syntax is:

A good, clean C library for implementing end devices:

The "usual" way to talk to devices which speak SCPI is using VISA libraries,
which are supplied by vendors like National Instruments or Agilent. Some of
these are released for Linux, but they aren't open. There don't seem to be any
non-vaporware Linux VISA libraries which aren't just wrappers around
proprietary drivers; the python-ivi library comes closest? It seems to be best
to simply talk raw serial using PySerial or similar.