Questions tagged [file-format]
The file-format tag has no usage guidance.
81
questions
0
votes
0
answers
29
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 ...
0
votes
0
answers
29
views
Efi Partition System format box leave it blank or checkmark it(Linux only installation)
Feeling very confused about this one .In a Linux only installation in UEFI mode,for Efi partition,do I need to tick(checkmark) the format box or just leave it blank.
I had seen You tube videos & ...
0
votes
1
answer
59
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:...
0
votes
1
answer
42
views
Watch file source code
How can I see all files formats that supported by file binary?
For example file my_bin
0
votes
1
answer
55
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 ...
0
votes
3
answers
107
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 ...
0
votes
1
answer
61
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....
1
vote
1
answer
559
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 "...
1
vote
0
answers
17
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 ...
3
votes
1
answer
4k
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 ...
0
votes
1
answer
2k
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 ...
7
votes
1
answer
2k
views
Check PDF file version from command line
Is there any command line tool available on Linux to check a PDF file version?
4
votes
1
answer
1k
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,...
1
vote
1
answer
105
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 ...
1
vote
2
answers
79
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....
1
vote
1
answer
260
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 ...
2
votes
1
answer
141
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 ...
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
...
5
votes
2
answers
714
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 ...
3
votes
1
answer
836
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 ...
-8
votes
1
answer
3k
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�
...
0
votes
1
answer
235
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 ...
1
vote
1
answer
1k
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....
1
vote
0
answers
704
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 ...
37
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....
3
votes
5
answers
5k
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 ...
2
votes
1
answer
380
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 ...
0
votes
0
answers
6k
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 ...
0
votes
2
answers
974
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 ...
1
vote
2
answers
109
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 ...
10
votes
2
answers
27k
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 ...
1
vote
1
answer
49
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 ...
3
votes
0
answers
2k
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 ...
30
votes
1
answer
22k
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), ...
2
votes
1
answer
14k
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
1
vote
2
answers
696
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 ...
2
votes
1
answer
877
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
| ...
0
votes
1
answer
145
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.
4
votes
1
answer
1k
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?
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: ...
1
vote
0
answers
255
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,...
3
votes
2
answers
6k
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 ...
0
votes
3
answers
410
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 ...
1
vote
0
answers
144
views
get the toplevel folder name used by readpst -r?
I've come across the following minor problem trying to automate my use of readpst:
readpst -w /some/dir/ -r mailtst.pst
I can't predict the name of the top-level dir without some prior knowledge ...
10
votes
2
answers
5k
views
How to get trailing data of gzip archive?
I have a gzip archive with trailing data. If I unpack it using gzip -d it tells me: "decompression OK, trailing garbage ignored" (same goes for gzip -t which can be used as a method of detecting that ...
4
votes
2
answers
2k
views
Extract TOC of epub file
Lately I hit the command that will print the TOC of a pdf file.
mutool show file.pdf outline
I'd like to use a command for the epub format with similar simplicity
of usage and nice result as the ...
5
votes
3
answers
4k
views
What is the unix mailbox format?
man git-format-patch makes reference of the UNIX mailbox format which is a term I am unfamiliar with.
A google search for "UNIX mailbox format" and similar expressions lists many hits with the term ...
1
vote
4
answers
7k
views
Why 'cat' can't read content of pdf files?
When tried the command cat < 1.pdf it printed a very large output, which was totally incomprehensible to me. The content of 1.pdf was abc.
The output was like this:
ÀýÓëöûcÎ=ÉÐÎTaüÍ8]ö¹mg:=Rú*@...
1
vote
1
answer
918
views
Converting column data to matrix
I am trying to create a matrix of plant traits and plant species. There are 2,912,746 rows in the data and 3 columns. There are different numbers of traits for each species, and not every species has ...
1
vote
1
answer
732
views
How to convert an audio file from one format to another?
I have an audio file named with such properties:
BreakingNews.wav: RIFF (little-endian) data, WAVE audio, Microsoft PCM, 16 bit, mono 8000 Hz
I wanted to convert it to this format:
BreakingNews.wav:...