Communicating between two COM ports

Hello Everyone…

I have two arduino boards (UNO and MEGA) . I have a robot which has on board computer.

1.Using 9 axes BNO055(bosch) accelerometer with UNO I made a joystick type control which is working very fine.

(http://microcontrollershop.com/product_ … ts_id=7140)

2.Motors of robot are controlled with MEGA (which I kept on board along with computer) and there are other operations performed by it.

My question is can I communicate two boards through COM ports rather than I2C because I don’t wont wires running between MEGA and UNO.??

If possible can I receive data from one COM port and send it to other COM port at a time using processing or some other means ??..

I am totally confused… anyone help me out… Thanks in advance.

Forgot to mention that computer has ubuntu 12.04 OS…