com Marcações:
file
X

TODAS AS PUBLICAÇÕES
- Classificar por:
- Data ▼
- Título
- Curtir
- Comentários
- Visualizações
Get over extensions, use file command to determine file types in Linux
The other day when I was searching for some file in my Linux system, I got a result with name 'TheLinuxCommandLine'. I was not sure what type of file was that as ' vim TheLinuxCommandLine ' produced the following output :
%PDF-1.6^M%âãÏÓ^M
3006 0 obj^M<>stream^M
...
...
... While I got a clue from the word 'PDF' in the output above that it could be a PDF file but then I thought that there should be utility that could gracefully tell the type of file supplied to it as input. I searched a bit and found a Linux command line utility... [More]
Marcações:  magic file extensions linux command |
Using Btrfs (B-Tree File System) on Linux
Abstract: The Btrfs (B-tree file system) is a copy on write (COW) File System under GPL
license. Btrfs provides various features few of them are online
defragmentation, online addition and removal of block devices, online
balancing, writable snapshots, sub-volumes, volume resize and few more. This
article explores the primary features and usage of Btrfs. Introduction: Btrfs is next generation file system for Linux. It
provides significant space and time improvements over other... [More]
Marcações:  snapshot raid de-fragmentation checksum file system |
Linux stat command with examples
The Linux command 'stat' is used for displaying status information of Linux files and file systems. In this article, we will discuss the usage of stat command with examples.
stat command syntax
The syntax of stat command is :
stat [OPTION]... FILE...
stat command examples
1. A basic example
In the simplest form, the stat command can be used by supplying a file name as an argument :
$ stat testdisk.log
File: `testdisk.log'
Size: 1014 Blocks: 8 IO Block: 4096 regular file
Device: 805h/2053d Inode:... [More]
Marcações:  status stat linux filesystem file |