The tag has no usage guidance.

learn more… | top users | synonyms

1
vote
1answer
25 views

How to send a delta (differential part) of a large binary file over the Internet?

I have sent a large (>1GB) binary file to a friend over a slow metered data plan and now I need to send the second version of the same file only slightly changed. I want to send only the delta/diff-ed ...
0
votes
1answer
20 views

Where can I find an RRD file specification?

I'm trying to write a Python program to directly pull information from RRD performance files stored on our servers at work, but the files aren't stored in plaintext format, and I cant find any ...
3
votes
2answers
38 views

make file size at least 1MB

I'm trying to learn about operating systems by making one myself and testing it in virtual-box, but VBoxManage convertfromraw doesn't allow my source file to be very tiny (512B). Are there any bash ...
2
votes
1answer
108 views

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* ...
-7
votes
1answer
48 views

Basically Everything [closed]

Okay, I just started looking at tutorials online and doing Codecademy, CodeSchool, Linux Academy, Cybrary.it, etc, etc. but I still don't understand most of the solutions/questions people discuss on ...
0
votes
1answer
44 views

How do I create a binary file?

I wrote something that I think parses bits from a file, but now I need to test it. I'd like to create a file that I know has bits in a certain order. Something like: 000010000000000000000000000100000 ...
0
votes
1answer
20 views

Changing text in binary files

While looking inside a binary file in a text editor, I came across some readable text. I have executed the binary before, and know that the readable text is echoed on screen. Is it possible to remove ...
2
votes
1answer
145 views

Is it possible to decode 'octet stream' .bin file?

Tidal.com streams flac files, but it does not provide with file download, which is what I want. As you would expect from a big company such as Tidal, upon my inquiry, its support service in an utmost ...
0
votes
1answer
27 views

Concatenate four binary files using alternating pattern in Linux

I need to concatenate four binary, meaning non-text files. Lets say I have four files: file1: AAAA file2: BBBB file3: CCCC file4: DDDD Now I want my resulting file to look like: ABCDABCDABCDABCD. ...
2
votes
1answer
956 views

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 ...
0
votes
0answers
52 views

What is the difference between .mbin and .bin?

I got a .mbin file this morning. As a newbie and just out of curiosity, is there any difference between .mbin and .bin? If no, is that OK to swap .mbin with .bin in file name? If yes, what are the ...
-1
votes
1answer
65 views

How accurate is content sniffing in order to determine filetype?

I need to identify the mime-type of extensionless files(document fileformats such as PDF, doc, docx etc), and I am wondering how accurate known file-signatures are? What I will do is to create a map ...
0
votes
0answers
49 views

Invert all bits in a file

I’m looking for a way to invert all bits in a file, preferably using Windows-integrated tools. How do I go about doing that? In essence, a file with contents 1100101 would become 0011010.
0
votes
1answer
95 views

How to grep for line numbers in a binary file?

I'm on Centos 5 Linux and using GNU grep v2.5.1 and looking at a 36GB log file. It is huge and I need to find around a million lines starting from the occurrence of a string 6307459 in the log file ...
0
votes
1answer
224 views

How to install “elastix: a toolbox for rigid and nonrigid registration of images” in Mac OS X 10.10 (Yosemite)

I have downloaded Mac OS X 64 bit binaries for Elastix and tried to run ./elastix in Mac OS X 10.10 (Yosemite): $ cd elastix_macosx64_v4.7 $ tree . ├── CopyrightElastix.txt ├── bin │   ├── elastix │  ...
0
votes
1answer
19 views

How to figure out which (potentially uninstalled) port provides a command in FreeBSD?

make search name=X and make search key=Y don't seem to find command names reliably, especially not if they aren't mentioned in the port's description. In Debian-based systems there's apt-file which ...
1
vote
1answer
91 views

Prompting for sudo password in a setuid root binary

I have a setuid root binary, with_sudo.bin, with the following source code: /* with_sudo.c */ #include <stdio.h> #include <sys/types.h> #include <unistd.h> #include <stdlib.h> ...
1
vote
2answers
492 views

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 ...
-3
votes
1answer
144 views

How to open a file in binary format.(1's & 0's)

I want to open files in binary format. I want to see binary code, not hex. And want to edit in binary format and ability to save changes. What is the best application to do this or is there any easy ...
1
vote
1answer
254 views

Linux setcap and changes made to the executable

A program that I am developing uses raw sockets. For security reasons to run a program that uses raw sockets, the program has to be run under a user with effective ID 0 (root?) or have the capability: ...
1
vote
1answer
70 views

./install_bam.sh and i get an error stating "cannot execute binary file

I am trying to install a software through PuTTY. When I try to execute the chmod +x ./install_bam.sh command to obtain the permission to run the ./install_bam.sh and I get an error stating cannot ...
1
vote
2answers
610 views

How do binary files run on different machines? [closed]

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? ...
0
votes
1answer
109 views

running sac2xy returns sac2xy: cannot execute binary file on osx 10.9

I have a Python script for plotting data which uses sac2xy, but it gives an error when running sac2xy: sh: sac2xy: command not found the relevant part of code is : os.system("sac ./tmp/sac.m") ...
1
vote
3answers
192 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 ...
2
votes
2answers
308 views

Encode binary file as text on Windows 2000+ using built-in tools

I have remote desktop access via Citrix to a remote server running Windows 2000. The server does not have any kind of internet access. The only way of getting data across is copying text through the ...
7
votes
2answers
26k views

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 ...
1
vote
1answer
2k views

Concatenate binary files in windows (Without command line)

I'm trying to prepare a process for copying the video files off of a recorded DVD (we made the recording, and it's not encrypted). The method of copying the VTS_*.VOB file works when the recording is ...
3
votes
4answers
658 views

Why does zipping a zipped file not reduce its size?

Based on the idea that a zipped file is a new binary file, why can't I reduce a Zip's size by zipping it again and again – up to a very small resulting file?
1
vote
1answer
4k 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. ...
1
vote
2answers
203 views

How can I replace icons of an application's executable?

I have an application whose executable contains some default icon. Now, I know I can use a shortcut with whatever icon I want, but what I'm looking to do is change the icon without the executable ...
2
votes
0answers
54 views

How can I prepend a byte to the beginning of a binary file in windows? [closed]

I have a binary file and I want to add a specific byte to the beginning of this file. How can I do it?
0
votes
4answers
5k views

How do you obtain 'raw binary dump' of a file?

I came through it in a question - What in the world is a .el8 file?. I am curious how @slhck determined that the file in question was pointing to the software - eLecta
0
votes
0answers
428 views

Is there any tool for decompiling raw binary files to C code for the Motorola 68000 processor series?

I have the ROM dump (.bin files) targeted for the MC68008 processor. Need to convert them into a high level source code. I have already found tools for disassmbling them into assembly code. The next ...
2
votes
1answer
387 views

Can you write binary opcodes directly in a text file, and then will they be directly fetched by CPU like that?

I can not fivd any sources explaining how tp write direct opcodes for ISA to work on CPU. Not Assembly, opcodes directly or "machine code".
0
votes
4answers
326 views

Why would a compiled and linked high-level language execute slower than Assembly/machine code? [closed]

Say I compile and link C in to a flat binary or some executable output format to run on a bare machine. If I optimized and fed the direct binary to the CPU upon boot up, why would the resulted format ...
-1
votes
1answer
663 views

How to download a zip/rar(content) in ASCII by a ftp

I am trying to download a file from a ftp server, the file is Zip/rar and I am using filezilla. I download the file in Acssi but the problem comes when I unzip the file and the files are in binary. ...
2
votes
3answers
303 views

Binary file search on Windows 8?

I'm in a weird situation. I need to find a file based on its contents, not the name because the name is not unique... For example, I have a file named "cat.jpg". It is a picture of a cat. I happen to ...
0
votes
1answer
394 views

Cinerella linux video editor binaries? Can't compile

I can't compile Cinerella 4.4. Last messages I get from the compiler are below. 1) How can fix the compilation? Seems like some GCC or lib incompatibility. I use Ubuntu 12.10. 2) Can I get Cinerella ...
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?
0
votes
1answer
186 views

Software for tagging arbitrary files [closed]

I'd like a program that allows me to tag and organize arbitrary binary files, without having to modify them or move them around. Also, the files could be stored on a local HDD or on a DVD or any other ...
4
votes
1answer
2k views

What is a 8086 relocatable?

I'm running some Fortran software (LBLRTM) and a shell-script that prepares input generates a number of files with names TAPE3, TAPE4, etc. For debugging purposes, I used file to identify the file ...
0
votes
1answer
848 views

Is there any ways to extend the search (find-in-files) capability of WinRAR?

WinRAR is good at searching for a string in text files(java, xml, txt etc.) within an archive and it supports multiple archive formats. (rar, 7zip, winzip etc) Is there some way to extend this ...
3
votes
1answer
2k views

How to do binary searches on Windows?

I want to search for a binary file and all I know it contains a certain sequence of bytes. What tool can help me to find it?
0
votes
1answer
731 views

Installing 64-bit Java on Ubuntu Server

I am trying to install 64-bit java on my Ubuntu server so I can host a Minecraft server. I have downloaded the package from java.com, extracted the file (it has no extension, for me it's just called ...
4
votes
3answers
1k views

Viewing binary files in terminal mangles display - any option other than closing window?

I don't always accidentally more a binary file, but when I do, I manage to output weird characters that (apparently) change the character set used by the terminal and make it difficult to read or ...
9
votes
3answers
3k views

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 ...
2
votes
1answer
387 views

Getting position of track and sector in 'dd'-created floppy image

I got some floppy images (original DOS 6.22 und FreeDOS 1.44 MB boot disks) created using the *nix ddcommand that work fine when used in a virtual environment. Now I want to understand the structure ...
2
votes
1answer
136 views

making a runnable file from a binary file

I have downloaded some programs from PortableLinuxApps.com such as Xnoise, and Chromium, and have them saved on a USB with the intention of their being part of a Swiss-Army-USB holiday gift for my ...
0
votes
2answers
121 views

Building distributable binaries in Unix

My intention is to generate distributable binaries - I am doing a ./configure - make - make install in my build machine, and I archived the content of the install directory (the one I gave a prefix to ...
4
votes
1answer
2k views

permission for the `www-data` user to execute a binary file

How can I give permission for the www-data user of Ubuntu machine to execute a command installed in /usr/local/bin ?