Tagged Questions
3
votes
1answer
456 views
How to follow (a la “tail -f”) a binary file from the beginning?
Is it possible to follow a binary file from the beginning, a la tail -f?
This is useful in some cases, for example if I'm scping a file to a remote server, and at the same time I want to feed it to ...
1
vote
1answer
485 views
remove carriage return character from large binary file
I have a large binary file ( nearly binary file ! ) which has many \r\n
in it [ gets Generated in windows env and doesnt have controle over generating application ]. I want to remove \r from this ...
9
votes
5answers
6k views
Shell: How to read the bytes of a binary file and print as hexadecimal?
In shell, how can I read the bytes of a binary file I have, and print the output as hexadecimal numbers?
5
votes
3answers
8k views
How to use bash script to read binary file content?
I want to read a character and then a fixed length of string (the string is not null terminated in the file, and its length is given by the preceding character).
How can I do this in a bash script? ...