Thank you for your reply. I am using bash shell and "$(perl -e 'print "\x44\x84\xaa\xbb";')" works for me. I do not know perl. Passing numbers to c(executable) as command line args was not working as they are treated as characters. A lot of manipulation was needed to achieve what I needed. I know that python has the required commands. just wondered about perl.