Questions tagged [binary]
316 questions
33
votes
4 answers
Is there a way to run a Linux binary on macOS?
Is there a way to run a Linux binary in macOS? I tried to run a binary but it said it isn't executable.

Saeid
- 441
16
votes
5 answers
How to reverse the content of binary file?
I was solving a challenge where I found a data file with no file extension. The file command shows that it is a data file (application/octet-stream). The hd command shows GNP. in the last line. So if I reverse this file then I will get the .PNG…

Prvt_Yadav
- 5,882
3
votes
1 answer
Find longest matching portion with in two binary files
Say I've got two binary files, each roughly 50MB, that may contain a digitally-identical portion. Is there an easy way to compare these two files, find the longest identical portion, and save that to a file?
(If it matters, the files in question are…

mikeola
- 31
- 1
3
votes
2 answers
Where to download binaries of coreutils?
I'm trying to install some commands on an android device (namely file and a better version of ls), and I'm looking for the ARM binaries for it (namely the 5TE architecture) but I'm unable to find a place to download them. Googling things like "arm…

Mitch
- 1,198
2
votes
1 answer
How can I modify the strings of a binary file?
When I use strings filename, it lists all strings in a binary file. And now, I want to modify the strings that listed. But, how?

Arian
- 51
- 2
- 7
2
votes
1 answer
Why can't we delete an running executable file
As we know, when we execute an executable file, this file will be loaded into RAM.
So I'm thinking that I can rm a.exe after ./a.exe.
In my opinion, after executing ./a.exe, this file has been loaded into RAM, so I should be able to remove it from…

Yves
- 3,291
2
votes
2 answers
binary files Linux /var/log/wtmp
why are some files in Linux binary ? For example the /var/log/wtmp log? More precisely why is the log in binary form.

cyzczy
- 366
2
votes
1 answer
How do I repair binaries?
So, basically I was messing up with minix and qemu and I messed up too much.
me@meplepl ~ $ which
bash: /usr/bin/which: cannot execute binary file: Exec format error
me@meplepl ~ $ file /bin/which
/bin/which: Minix-386 executable
I have the…

carpenter
- 1,221
0
votes
1 answer
Uniqueness of binaries across same distro
Should the common binaries on different but identical linux systems (lets say same Debian version, fully patched), have the exact same binaries across systems (matching hashes)?
Is there any known collection of these "known-good" hashes for linux,…

dcom-launch
- 683
0
votes
1 answer
How can I open a binary file with extension .chk or no extension?
I have a directory that was originally all ".doc" files and were copied over to an external hdd. Now all the files are 'binary' files. Some have extensions, many do not.
I tried opening them with the following commands after making them executable,…

sgu55
- 81
-1
votes
1 answer
How do I converting a stream of newline separated ascii numbers into binary (and back again)?
This is in the context of interacting with /dev/dsp and pacat.
I would ideally like to be able to specify the encoding mechanism (big- versus little-endian, char/short/long).
As a bonus, some sort of packing of binary structures might be nice to…

Att Righ
- 1,196
-1
votes
0 answers
what is the difference between "/sbin/nologin" and "/bin/false"?
Possible Duplicate:
What's the difference between /sbin/nologin and /bin/false
They are not having the same size. In what do they differ?

LanceBaynes
- 40,135
- 97
- 255
- 351