Arduino Yún console clear
Perhaps you could count the number of lines in the console and the print out enough carriage returns ("\n") to fill it with empty whitespace.

For example, with a console with 100 lines:

for(int iter = 0; iter &lt; 100; iter++) {
   client.write('\n');
}