Sending linux commands over serial
what do you want to do with linux commands?.You can check for devices in the i2c bus and you'll get to see the debug messages.If you want to test something specifically  please mention it.