so i am running this on bash:
# somedevice -getevent
What this command does is it just keeps running, and everytime my device sends a certa
You can try 'tee':
somedevice -getevent | tee -a my_record_file
The '-a' option is to append instead of just replacing the content.