1
vote
2answers
45 views

How do binary files run on different machines?

I always wondered about how executable binary files actually work. Compilation is always stated as taking the source code and translating it to machine language But what does that really mean? ...
1
vote
3answers
44 views

Untar after uploading to linux from windows

I have created tar.gz from my linux server, and I downloaded the same to my linux system and I successfully doen untar with tar -xvf package.tar.gz. And now my issue I downloaded same ...
0
votes
0answers
64 views

Apply binary patch to linux kernel image

I have a kernel image. The sources are somewhat lost and I dont want to migrate to a recent version (embeded software, custom (patched) linux kernel 2.4.24). I want to make a simple operation: ...
1
vote
1answer
592 views

Extract the contents of ELF and write to binary file

I have been trying to extract the contents of a firmware and putting it to a binary file, but with no success. I see the right hex contents, but am not sure how to laid them in bits into a file. ...
0
votes
0answers
34 views

Execute permissions set but still getting 'No such file or directory'

I'm trying to run a binary file from bash but I get the above error when I try ./launcher from the directory it's located. Execute permissions and owner are all in order so what's the issue?
73
votes
7answers
110k views

How do I compare binary files in Linux?

I need to compare two binary files and get the output in the form <fileoffset-hex> <file1-byte-hex> <file2-byte-hex> for every different byte. So if file1.bin is 00 90 00 11 in binary ...