The tag has no usage guidance.

learn more… | top users | synonyms

1
vote
1answer
44 views

How to get the structure of a GDBM database

Modem Manager GUI creates a database named sms.gdbm to store all the SMS details. Currently Modem Manager GUI is not providing a feature to simply delete all received/sent messages. So I'm trying ...
0
votes
1answer
62 views

NTFS formatting disabled while using Gparted in CentOS 7

I am using GParted for formatting my usb-device(a pendrive). And, I unmounted my device using the GUI program itself. The device doesn't show mounted anymore. When I try to format my ...
0
votes
0answers
10 views

Systemtap graphical visualizer

I am using systemtap for function tracing and it generates output in normal ascii text format is there a way get trace in opentrace format(OTF)
0
votes
1answer
101 views

How to reduce the size of an mpeg file using the command line ?

I have a file, the output of the file command displays: jeff_western2.mp4: ISO Media, MPEG v4 system, version 1 I do not know how to lookup the resolution but it looks quiet high, the file itself ...
1
vote
1answer
118 views

XML Microsoft Word Document

I have a .xml file generated by someone with MS Word and I cannot manage to open it with LibreOffice or other app or change its format. I tried to save a LibreOffice document as "Word 2003 xml" and ...
0
votes
0answers
59 views

Why are my USB flash drives not working well under Linux and Windows?

Let me explain my question better: I am a Linux user (Fedora 20) and regularly need to use USB flash drives to carry files I will need to open in Windows computers in College, and the other way ...
0
votes
1answer
75 views

hard drive formatted while Linux setup, lost partitions

I have installed Ubunto 14.04 on sda1. but after the installation finished, all the partitions are gone . I have important data on sda5 , and when I run the following command : sudo fdisk -l in the ...
0
votes
1answer
214 views

convert *.po file to *.pot

I need to convert *.PO file (binary gettext file), and I need to convert it to *.POT file(source gettext file), I did it via : msgfilter -i my pofile.po -o mypot.pot true But it didn't generate my ...
0
votes
1answer
277 views

How to format a microSDXC card into Fat32?

I need to format a brand new Micro SD card of extended capacity into Fat32. I've read that formatting SD cards of 64/128GB requires special tools. So I'm asking: How can I format in my Linux machine a ...
7
votes
1answer
220 views

file(1) and magic(5) : describing other formats

Can I use file and magic ( http://linux.die.net/man/5/magic ) to override the description of some other known formats ? for example, I would like to describe the following formats: BED: ...
0
votes
2answers
370 views

File command database and identifying text files

Please let me know if below two statements are correct or not: Folder /usr/share/mime/magic has a database/table that will give me what are the current possible file formats (outputs that I can get ...
-1
votes
2answers
55 views

Reading file with different formats [duplicate]

I am a new user to Linux. I have several files and documents in my directory and sometimes when I want to read or display data in these files, I do not know which command I need to type for this ...
1
vote
2answers
106 views

cat combining not all file formats - but which ones?

In GNU⁄Linux, combining files with cat works in miraculous ways – at least for me: cat part_* > /destination/file.xyz with the same file format for BOTH source and target file(s) ...
7
votes
4answers
1k views

Linux file command classifying files

I need to recognize type of data contained in random files. I am new to Linux. I am planning to use the file command to understand what type of data a file has. I tried that command and got the ...
9
votes
6answers
1k views

When are spaces around the = sign forbidden?

I know that in ~/.bashrc one must not put spaces around = signs in assignment: $ tail -n2 ~/.bashrc alias a="echo 'You hit a!'" alias b = "echo 'You hit b!'" $ a You hit a! $ b b: command not ...
5
votes
1answer
842 views

How could I restrict directory content by file type?

Is there a way to restrict directory content by the file type? For example, I have an upload directory that I only want users to put images in, could I go a step further & actually put a ...
3
votes
1answer
75 views

Test for a particular file format

This is a followup to Normal looking text file, detected by file as ASCII Pascal program text It seems file can't be trusted all the time. It seems possible that a particular file may be detected ...
18
votes
2answers
699 views

What does “magic tests” mean for the file command?

I was reading about the file command and I came across something I don't quite understand: file is designed to determine the kind of file being queried.... file accomplishes this by performing ...
1
vote
2answers
385 views

Unable to do head or tail for a file

I have a .CSV file which upon passing the file test_file.csv command gives the output as: test_file.csv: ISO-8859 English text, with CR line terminators When I am using cat, head or tail command on ...
1
vote
1answer
1k views

How to format a USB storage no detected in Ubuntu?

I have a memory stick that is not mounted in Ubuntu and it doesnt works in Windows. I can check is connected using Bus 003 Device 011: ID 05e3:0727 Genesys Logic, Inc. microSD Reader/Writer But I ...
0
votes
1answer
111 views

Are .so files in Fedora considered ELF files?

ELF 'Executable and Linkable Format' So if I generate Shared Object files .so are those considered ELF files?
2
votes
1answer
593 views

Detect file-type with the help of magic-file and rename file-suffix accordingly

I have a folder (the iPhone Backup) with various files without a suffix. I want to run a batch process over these files, which detects each file's file-type (with the help of the magic-file database ...
5
votes
2answers
998 views

More sophisticated file command for deep inspection?

Sometimes it seems that the standard file command (5.04 on my Ubuntu system) is not sophisticated enough (or I am just using it wrong, which could well be). For example when I run it on an .exe file, ...
7
votes
5answers
23k views

How to read Word .doc files?

How can we read Microsoft Word (.doc) files in a Linux system? It doesn't support .doc files. I tried strings filename.doc | less but it gives ugly output. Any other option? I would prefer a ...
3
votes
2answers
219 views

Different formats of object files in Linux

I was wondering what are some formats of object files in Linux? There are two types of object files that I know: executable, which has ELF format object files that are generated by gcc after ...
4
votes
2answers
344 views

Sometimes I feel like a directory, some times I feel like a regular file

For organizational purposes I would like a certain filesystem object which most of the time appears as a file, on occasion, to appear as a directory. The basic idea is that generically for cp, mv, ...
4
votes
1answer
95 views

IANA image format string from binary stream

How can I get the official IANA Image Media Type (if any) of a binary stream? I'd like to avoid trusting to file extensions and vague guesses when handling images. Preferably some command using common ...
4
votes
1answer
833 views

More doubts in bzImage

The description of the bzImage in Wikipedia is really confusing me. The above picture is from Wikipedia, but the line next to it is: The bzImage file is in a specific format: It contains ...
17
votes
4answers
10k views

What is the difference between the following kernel Makefile terms: vmlinux, vmlinuz, vmlinux.bin, zimage & bzimage?

While browsing through the Kernel Makefiles, i found these terms. So i would like to know what is the difference between vmlinux, vmlinuz, vmlinux.bin, zimage & bzimage?