Syntax:
set terminal {<terminal-type>} show terminal
If <terminal-type> is omitted, gnuplot will list the available terminal types. <terminal-type> may be abbreviated.
Use set output to redirect this output to a file or device.
Several terminals have additional options. For example, see dumb, iris4d, hpljii or postscript.