How to save data pinged to Yun?


My setup is simply an Arduino Yun on the same WiFi as my PC. Now, ideally, I want to connect the Yun via an Ethernet cable, and send simple 0 or 1's in data and then save it on the Yun, and then later on transmitting via Wifi to a database. However, I can't find any guides whatsoever, doing anything similar to this. Do anyone know how to do this?


I should note that I've tried assigning a static IP adress to the Ethernet cable (the yun) and I can ping this, however I have no idea how to actually send the data from my PC then to the Yun and seeing the data received in the serial monitor. :frowning: