ESP8266 relay controlled from Linux terrminal commands using NetStat

Yep. These units are geared towards cell phone usage so now I am leaning towards wemos d1 mini. Yet I still wish to control this device via netstat/putty on a scheduled basis via a linux based PC if possible?