-
Notifications
You must be signed in to change notification settings - Fork 16
/
stat.txt
115 lines (89 loc) · 5.21 KB
/
stat.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
STAT
stat FILE... #Imprime des informations relatifs à FILE
#Analyse les symlinks eux-mêmes et non les fichiers
#qu'ils pointent.
#Affiche par défaut :
#
#Nom_de_fichier
#Taille_octets Nb_blocks IO_block Type_fichier
#Device_nb_hex Device_nb_dec Inode_nb Nb_hard_link
#Major_device_type,Minor_device_type (slt fichiers spec)
#Droits_oct Droits_ls UID User_name GID Group_name
#Atime
#Mtime
#Ctime
-f #Imprime des informations relative à la partition
--file-system #contenant le fichier plutôt qu'au fichier lui-même.
#Imprime par défaut :
#
#Nom_de_fichier
#Partition_ID Max_filename_length Type_partition
#Block_size Fundamental_block_size
#Total_blocks Free_blocks Free_blocks_for_non_root
#Total_inodes Free_inodes
-c STRING #Imprime STRING au lieu de la séquence par défaut, puis
--format=STRING #une newline. STRING peut contenir tout caractère, mais
#aussi les séquences d'échappement suivantes (précédées
#chacune de %). La width et les flags printf sont
#possibles (sauf * + et .) (voir doc). Voici les
#séquences sans l'option -f :
n #File name
N #Quoted file name with " -> FICHIER POINTE" appended if
#non-dereferenced symbolic link
F #File type (il s'agit d'une string)
a #Access rights in octal form
A #Access rights in "ls -l" form
u #User ID of owner
U #User name of owner
g #Group ID of owner
G #Group name of owner
C #SELinux security context string (échoue si pas de
#SELinux)
x #atime (YYYY-MM-DD hh:mm:ss.sssssssss +ZZZZ)
X #atime as seconds since Epoch
y #mtime
Y #mtime as seconds since Epoch
z #ctime
Z #ctime as seconds since Epoch
b #Number of blocks allocated
B #Taille en octet d'un block
s #Total size, en octets
o #I/O block size
h #Number of hard links
i #Inode number
t #Major device type in hex
T #Minor device type in hex
d #Device number in decimal
D #Device number in hex
f #Raw mode in hex
SEQUENCE AVEC
OPTION -F => #Et avec l'option -f :
n #File name
t #Partition type in hex
T #Partition type in human readable form
i #Partition ID in hex
b #Total data blocks
f #Free data blocks
a #Free data blocks available to non-superusers
s #Block size (for faster transfers)
S #Fundamental block size (for block counts)
c #Total file nodes
d #Free file nodes
l #Maximum length of filenames
C #SELinux security context string (échoue si pas de
#SELinux)
--printf=STRING #Même chose, mais n'imprime pas de newline, et permet
#d'utiliser les séquences d'échappement backslash
#(voir doc) (sauf \c et \e)
-t #Modifie l'impression par défaut our n'afficher que les
#valeurs sur une seule ligne, sans le formattage par
#défaut.
#Désactivé par -c ou --printf.
#Affiche par défaut, sans -f :
# - %n %s %b %f %u %g %D %i %h %t %T %X %Y %Z %o
#Et avec -f :
# - %n %i %l %t %s %S %b %f %a %c %d
-L
--dereference #Déréférence les symlinks