Questions tagged [file-format]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0 votes
1 answer
43 views

What is the purpose of timestamps in unified diffs?

An Example of Unified Format: --- lao 2002-02-21 23:30:39.942229878 -0800 +++ tzu 2002-02-21 23:30:50.442260588 -0800 @@ -1,7 +1,6 @@ -The Way that can be told of is not the eternal Way; -The name ...
Flux's user avatar
  • 2,546
-1 votes
1 answer
48 views

Why 'helix-23.03-aarch64.AppImage' [in debian on x86_64 in Macbook Pro] is giving 'Exec format error'?

It is on debian on x86_64 me@debian:~/bin$ chmod a+x helix-23.03-aarch64.AppImage me@debian:~/bin$ ./helix-23.03-aarch64.AppImage /tmp/.mount_helix-RyzFyw/AppRun: 4: exec: /tmp/.mount_helix-RyzFyw/usr/...
tom_kp's user avatar
  • 33
1 vote
2 answers
58 views

email: Where does the datetime stamp in the From_ line of an mbox mail message stem from?

I am currently working on a program converting mailbox files from an old, tenex based mail format to mbox. The tenex mailbox format has separator lines like the mbox format (the latter is called the ...
user214289's user avatar
0 votes
1 answer
41 views

meaning of suffix in hunspell files i.e. `/EPSozm`

When I grep for phan in my hunspell-dic file /usr/share/hunspell/de_DE_frami.dic, I get list of words including cellophan/Sozm cellophan/hke cellophan/ozm glaukophan/EPSozm Where do I find ...
user unknown's user avatar
  • 10.3k
0 votes
2 answers
244 views

What are the self-healing file formats?

It is known that there are self-healing file systems like e.g. ZFS, Btrfs, bcachefs and self-healing RAM, like e.g. ECC RAM or corresponding software implementations, which can correct single or ...
Alfred.37's user avatar
  • 120
2 votes
1 answer
65 views

Is this type of Linux configuration files format has a name or a way to designate them?

On Linux, each software can decide the configuration format he wishes to use. Some uses TOML, INI, JSON, XML, CSV, YAML, JS, CSS, scripts, and so on. However, some configuration files use kind of INI-...
Denis Migdal's user avatar
0 votes
1 answer
199 views

.DAT files are same as compressed files in Unix?

please confirm if .DAT extension files are same as compressed format files (.zip ) in Unix. As I try to use gzip filename.DAT then file size 2 GB is same after compression? Is there any alternative to ...
kumar's user avatar
  • 1
0 votes
1 answer
136 views

make cut output a certain term when no delimiter found

I am looking for extensions of files and cut simply gives the filename if the file has no extension so I am looking to make cut give a "extensionless" when no '.' is found I am using this as ...
stacking and exchanging woohoo's user avatar
0 votes
0 answers
478 views

Read-only NTFS flash drive refuses to format

I have this SanDisk Cruzer Edge where it's a write-protected NTFS partition that I got from my dad as I needed a flash drive. I tried using GParted, didn't work, I saw something online that used the ...
sgal5208's user avatar
0 votes
1 answer
391 views

What does this bcf error mean?

I ran this code to filter out biallelic variants from my vcf file: bcftools view --max-alleles 2 --exclude-types indels merged.ecDNA.vcf.gz>merged.ecDNA2.vcf.gz However, I got an error message: [E:...
Michelle Yang's user avatar
0 votes
1 answer
65 views

Watch file source code

How can I see all files formats that supported by file binary? For example file my_bin
File's user avatar
  • 13
0 votes
1 answer
101 views

What are the file specifications of a compress .Z file?

For some reason, I am unable to find what the specifications are for a .Z file even though I see many things supporting it. Why is it so hard to find online? I am very familiar with LZW compression ...
Mark Jacobs's user avatar
0 votes
3 answers
728 views

How to format a USB stick to be "Normal"

I'm quite confused about the different format types a USB stick could have (or for that matter, any storage device). On this USB stick, I used to have a distro iso installed, and wanted to make it ...
Chris's user avatar
  • 3
0 votes
1 answer
312 views

How to tell an AppImage file from a regular executable?

The question is pretty much in the title. If I launch the file command on an AppImage I get: ELF 64-bit LSB executable, x86-64, version 1 (SYSV), dynamically linked, interpreter /lib64/ld-linux-x86-64....
Overflow's user avatar
  • 103
1 vote
1 answer
932 views

Why does Kali Linux have other existing users from /etc/passwd file? I never created these users

I simply wanted to see my user that I just created in the terminal but I came across this sea of users in my existing Kali Linux vm. The command I used displayed a list of users. It started with "...
StackingWaffles's user avatar
1 vote
0 answers
21 views

Installed vm debian gnu linux 10, trying to format/erase/fix a read only sd card in a linux way that windows or mac won't do?

I've installed Debian GNU Linux 10 in a VM. I'm trying to format/erase/fix a read only SD Card in a Linux way that Windows or Mac won't do. Unfortunately I don't know anything about linux/cli, but ...
Toddd's user avatar
  • 11
1 vote
1 answer
6k views

how to open/convert .ost file (Microsoft Outlook email folder) on linux

How can I convert (or open) .ost file (Microsoft Outlook email folder) on linux ? Ideally, I would like to read it with Mutt. But mutt does not seem to understand this format. Therefore I would like ...
Martin Vegter's user avatar
0 votes
1 answer
3k views

What is the encoding format of a binary file(OBJ file,a.out,ELF etc..) [closed]

When I open a binary file in vim, I see the mnemonics instead of the 0s and 1s. I believe this is due to the fact that vim by default opens the file in ASCII mode. Is my understanding right? What is ...
Franc's user avatar
  • 229
7 votes
2 answers
3k views

Check PDF file version from command line

Is there any command line tool available on Linux to check a PDF file version?
user avatar
5 votes
1 answer
2k views

When scheduling jobs to be run by crontab, should leading zeros be used for the hour?

Let's assume that I want to run a shell script named test.sh at 1 AM every day. I could either use: 0 1 * * * /home/user/test.sh Or I could use: 0 01 * * * /home/user/test.sh For the above example,...
elliott94's user avatar
  • 153
1 vote
1 answer
212 views

How to cat the first page of an epub file?

epubcat book.epub 1 3 # outputs plain text of pages 1 through 3 I don’t know if epubs have the concept of “pages.” If not, perhaps we can say each 400 chars are a page? A general solution that works ...
HappyFace's user avatar
  • 1,493
1 vote
2 answers
134 views

Is this some byte order mark problem

My question seems to come from differences between text files in different OSes. So I will try my luck here. I would like to try the default project created from a .NET Core template on Ubuntu 18.04....
Tim's user avatar
  • 99k
1 vote
1 answer
352 views

Ampersand in the passwd GECOS field

When expanding the /etc/passwd GECOS field to get the user's full name, should we expand only the first ampersand (& character), or all ampersands? In a GECOS field with comma (,) delimited ...
Lassi's user avatar
  • 821
2 votes
1 answer
200 views

Is it ok to have no newline at end of /etc/group?

I ran into a problem on busybox where my /etc/group file was not properly processed. bash> tail /etc/group ... onebutlast::1001:user1,user2 last::1002:user3bash> The user3 was not in the last ...
xtofl's user avatar
  • 187
2 votes
3 answers
1k views

How to convert a 3 column csv file into a table (or matrix)

I have an CSV input file format like this, with a nucleotide sequence in field 1, text in field 2, and an integer in field 4: ATGC,CD3,56 ATGC,CD4,67 ATGC,IgD,126 ATGC,IgM,127 AGTC,CD3,67 AGTC,CD4,78 ...
SherlockLTS's user avatar
5 votes
2 answers
1k views

How do I convert .JB2E files to a more common format?

I'm trying to convert some .jb2e images, which I extracted from a PDF, into a proper, common image file format like PNG or JPG. I tried using jbig2dec, but that told me jbig2dec FATAL ERROR Not a ...
einpoklum's user avatar
  • 8,852
3 votes
1 answer
2k views

Zip64 Extra Information Field

While trying to analyze zip files, one section Im a little confused by is the Zip64 Extra Information Field. It is expected to be generated when specific fields can't fit in the file header(Central ...
tangy's user avatar
  • 191
-8 votes
1 answer
4k views

binary file decrypt [closed]

I want to see the message inside this binary file: ]�$�r�ux����f��aY64QH���K�z{������y�ߗ��y�m����Ǖ�} ��cy@^��+|�%E(H��*�I�P�����7��8�=$�.�`ïc� ...
gogumartalogu22's user avatar
0 votes
1 answer
413 views

Interrupted formatting a partition

I had a 20TB LUN in one of my systems named maptha. I created two 10TB partitions out of it, mapathap1 and mpathap2. When I ran the command mkfs.ext3 /dev/mapper/mpathap1 another completely ...
BlackCrystal's user avatar
2 votes
1 answer
2k views

What is the number in readelf symbol table name?

I have a local static variable, something like this: void function(void) { static unsigned char myVariable = 0; ... I dump the symbol table using readelf as follows: readelf -s myprogram....
waszil's user avatar
  • 123
1 vote
0 answers
820 views

USB sticks not detected in file system nor by GParted (Linux Mint)

I am trying to make an installable Windows USB stick in Linux Mint. It is not detecting the two drives I am attempting to format. From my understanding, I need to format the drive with GParted ...
Daniel Paczuski Bak's user avatar
36 votes
5 answers
6k views

What's the correct way to ask for a feature in GNU Linux?

I'm trying to send a bug report for the app file, /usr/bin/file But consulting the man and sending an email BUGS Please report bugs and send patches to the bug tracker at http://bugs.gw....
fullmooninu's user avatar
3 votes
5 answers
7k views

Unix unzip is failing but Mac Archive Utility works

I have a bunch of files with a .zip extension that I cannot seem to extract on my HPC: $ unzip RowlandMetaG_part1.zip Archive: RowlandMetaG_part1.zip warning [RowlandMetaG_part1.zip]: 13082642473 ...
kevbonham's user avatar
  • 201
2 votes
1 answer
482 views

What is the correct format for xpra password files?

I created a username/password combination of the form onetwo:bucklemyshoe, ie the password file contains the single line onetwo|bucklemyshoe Whenever I try to connect the message appears on the ...
vfclists's user avatar
  • 7,235
0 votes
1 answer
7k views

How to open Composite Document File V2 Document, Cannot read section info

Output of file command for a given odt file gives me Composite Document File V2 Document, Cannot read section info. By searching on Google I found it a doc document and I installed unoconv to read ...
Prvt_Yadav's user avatar
  • 5,772
0 votes
2 answers
1k views

combine columns within a file

I need to make some formatting adjustments to some data and I am not sure if there is a simple way to make the changes. I need to combine two columns of data into one column with a "/" in between the ...
Josh's user avatar
  • 59
1 vote
2 answers
122 views

KDE consider programs as libraries (.so), How to change file assotiation for program?

Question: How to make the correct file extension association in KDE so programs are executable from the UI? Linux 4.9 Debian 9 (stretch) stable version 64bit 2017-09-28. KDE Plasma as included ...
Adrian Maire's user avatar
  • 1,896
12 votes
2 answers
38k views

GNU nano 2: DOS Format or Mac Format on Linux

Which format (Mac or DOS) should I use on Linux PCs/Clusters? I know the difference: DOS format uses "carriage return" (CR or \r) then "line feed" (LF or \n). Mac format uses "carriage return" (CR ...
JoKalliauer's user avatar
1 vote
1 answer
55 views

how to handle broken XML Microsoft Office Word documents

I have received an xml file with a form that I am supposed to fill. The filename ends in .doc, so I assume it's supposed to be a word document. As far as I understand it was automatically generated by ...
carsten's user avatar
  • 345
3 votes
0 answers
3k views

Batch convert ISO/WAV/CUE back into BIN/CUE

I've been looking for a command utility/script that does the opposite of bchunck, but can't seem to find one. What bchunck does is taking a mixed-mode CD image in BIN/CUE format and separate it into ...
biohazara's user avatar
31 votes
1 answer
26k views

What does "LSB" mean when referring to executable files in the output of /bin/file?

I have found the term "LSB executable" or "LSB shared object" in the output of the file command in Linux. For example: $ file /bin/ls /bin/ls: ELF 64-bit LSB executable, x86-64, version 1 (SYSV), ...
yoyo_fun's user avatar
  • 855
2 votes
1 answer
16k views

How to unpack .tar.gz.md5 file in Linux?

I have a file called gdac.broadinstitute.org_KIRC.Merge_Clinical.Level_1.2016012800.0.0.tar.gz.md5 Can anyone tell how to unpack this? I haven't seen such files till now. Thank you
stack_learner's user avatar
0 votes
2 answers
768 views

Sharing a network drive between Linux and Windows

I am currently installing a Linux distro onto the SSD of a new desktop in my home. This PC will also have a HDD for storage which will be permanently mounted on this Linux OS, but I would also like to ...
KOB's user avatar
  • 253
2 votes
1 answer
1k views

Extract file names with directory structure into CSV file (separate csv file for each image name)

I have a folder structure like :- Type1 Type 2 | ...
Urvashi's user avatar
  • 333
0 votes
1 answer
172 views

How to get trailing data of LZMA archive?

Similar to How to get trailing data of gzip archive? for GZIP archives I need a way to get the trailing data of an LZMA archives.
phk's user avatar
  • 5,893
6 votes
1 answer
2k views

How to add a custom GPS location to a picture?

Given a .jpg picture without associated GPS coordinates, how would you suggest to add custom coordinates to it?
user123456's user avatar
  • 4,828
1 vote
1 answer
2k views

Android build tool command aapt “cannot execute binary file”

I have build tools version 25.0.1 installed on a machine running Enterprise Red Hat Linux, 64 bit. When I try and run the aapt command, from the command line I get the following: -bash: ./aapt: ...
Flynn81's user avatar
  • 121
1 vote
0 answers
299 views

Encoder to msrle format with FFMPEG

I need to create some files for an old windows API, for a video playback. The native windows files which works with this old API have the format of MSRLE. They are used as small animations during copy,...
piotao's user avatar
  • 111
3 votes
2 answers
8k views

(How) can I display an rtf on the command line?

I know there are much better solutions for writing documents through the command line that are intended to be nicely formatted (markdown, LaTeX, troff, etc. ad infinitum), but I have not encountered ...
Wildcard's user avatar
  • 35.4k
0 votes
3 answers
465 views

Unix question for a date format file

My filename will be in date format. eg: 20160920-A.cc1. Everyday I will getting different file, with the current date (yyyymmdd-A.cc1). I need to archival this file with the same name that is loaded ...
Janani's user avatar
  • 1