Questions tagged [binary-files]
156 questions
489
votes
28 answers
How to check if a binary is 32 or 64 bit on Windows?
Is there an easy way to check if a binary is 32 or 64 bit on Windows? I need to check before I move the program to a 32bit machine and experience a spectacular failure.
Septagram
- 5,348
- 6
- 20
- 21
461
votes
17 answers
How do I compare binary files in Linux?
I need to compare two binary files and get the output in the form
for every different byte. So if file1.bin is
00 90 00 11
in binary form and file2.bin is
00 91 00 10
I want to get something…
frustratedCmpNoLongerUser
85
votes
12 answers
Why are hex editors called binary editors?
Hex and binary are two different bases. Hex, in my understanding, is simply an easier to use and more convenient version of binary.
However, I often hear that hex editors are binary editors. If you search for "binary editor" on Google, you get…
Joseph
- 2,158
- 3
- 14
- 24
64
votes
4 answers
What is the "blob:http://" prefix and where can I learn more about this?
I'm using safari, and unsure if this works in other browsers, but when I signed up for a storm path account, I see the following URL
blob:https://api.stormpath.com/1be95204-93d6-4GUID HERE
The blob: prefix is new to me and I want to know if it…
makerofthings7
- 2,255
- 7
- 26
- 36
23
votes
2 answers
How to solve: -bash: : cannot execute binary file
I have a file named b1 that contains assembly language. I am trying to execute the file on OSX using
$ ./b1
I get the following error:
-bash: ./b1: cannot execute binary file
I've looked at other similar questions, but to no avail. I'm…
user304868
- 333
- 1
- 2
- 6
19
votes
6 answers
How to compare mp3, flac audio data in a file, ignoring header data (ID3 tag) etc.?
I've backed up some audio files up in 2 places and added ID3 tags into one backup but not the other, since time has passed my own memory has faded on whether the backups are actually the same, but now one has ID3 data and the other doesn't, basic…
therobyouknow
- 4,016
- 17
- 59
- 88
17
votes
4 answers
Executable files in Mac OS X vs Windows
I have seen that every executable file in Windows has an extension of .exe. But Mac OS X doesn't have the same.
Windows executes .exe files. Then what kind of files does Mac OS X execute?
What is the difference between both operating system's…
sagarkothari
- 4,925
- 25
- 72
- 92
16
votes
2 answers
How do I get rid of the Skype lady?
For what feels like a year, Skype has had a picture of this lady in the middle of the interface.
No offense to the lady, but seeing her face in the middle of my contacts is distracting. When I look at Skype I want to see my contacts, not an…
zx81
- 458
- 2
- 13
15
votes
1 answer
Why does my "grep" stop filtering a non-ASCII file it thinks is "binary"?
I'm working with a Windows-10 computer, using a WSL.
I'm investigating a logfile, produced by NLog in a C# application. I'm expecting log entries to appear everywhere throughout the file, but I see the following:
Linux prompt> grep "geen…
Dominique
- 1,993
- 9
- 30
- 65
15
votes
2 answers
Write n bytes from a file into another in Bash
Hello how can I write n bytes from one file into a new file starting from the k position using Bash?
For example if n=60, k=1 and file size=100 then: the 2nd file would consist of from the 1st byte up to the 60th byte and would be 60 bytes in…
PiNewbie
- 151
- 1
- 1
- 3
13
votes
5 answers
convert text file of bits to binary file
I have a file instructions.txt with the…
dopamane
- 233
- 1
- 2
- 7
11
votes
3 answers
Why can't we understand the content of a binary file after compiled?
As far I know, every program consists of a pack of processor instructions with some specific data variables(float, int, char...) to work on the processor registers.
So, the first thing that I thought about it(a long time ago) is that if you know…
Diogo
- 30,192
- 65
- 150
- 222
10
votes
1 answer
Delete /usr/bin/emacs - Operation not permitted
I was about to reinstall Emacs from railwaycat/emacsmacport when I stumbled upon /usr/bin/emacs, /usr/bin/emacsclient and /usr/bin/emacs-undumped.
angrybacon@sandman ~/ $ ll /usr/bin/emacs*
-r-xr-xr-x 1 root wheel 26929904 Dec 3 07:35…
Mathieu Marques
- 203
- 2
- 7
6
votes
2 answers
is it possible to reverse xxd to get original file from binary file
i have been using xxd to create a hexa representation of a file(any file like .jpg, .docx, .zip etc), like this,..
$ xxd -p original_file.zip > hexa_format.txt
and to reverse
$ xxd -r -p hexa_format.txt > original_file.zip
if anybody feels…
arvindh
- 163
- 1
- 1
- 3
6
votes
2 answers
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?
Namely:
Can I move a binary file from computer A to…
Pithikos
- 1,564
- 2
- 15
- 20