I am new to linux so please be patient with me.
I need to import data to the RPI via a usb to RS485 converter
I am using a script which includes the line:
dd if=/dev/ttyUSB0 of=/tmp/output bs=1 count=9 &
this is working fine and a string of 9 bytes is being correctly received and stored into the file "output".
However when this line executes I get a screen message as follows:
9 + 0 records in
9 + 0 records out
etc.....
I would like to suppress the above messages.
I read somewhere that if I do:
dd if=/dev/ttyUSB0 of=/tmp/output bs=1 count=9 &> /dev/null
the system would suppress the messages but instead an error message results and the dd command does not work at all.
Can anyone help please?
Regards