this script is helping to create a virtual COM port on linux and allow you to share serial data throught TCP/IP if you are familiar with VSPE in Windows that sould be easy.
there is anouther way to see serial data by the tool Screen
you can run this script by typing (in root):
it will creat a virtual COM port /dev/ttyS<Number_COM> you can change the permisson with chmod to allow user application to access to it
--! you should have insttaled the nmap package !--
if you can't run it throught JAVA API serial Comm you should update your kernel to 4.6 or newest that worked for me