fichier
Anglais [fa?l] US [fa?l]
vt Pour déposer (procédure de divorce ou autres poursuites pour déposer... ); faire une demande
n. (dossier); colonne fichier
Troisième personne du singulier : fichiers pluriel : fichiers participe présent : dép?t passé : déposé participe passé : déposé
Commande de fichier Linux syntaxe
Fonction?: La commande file est utilisée pour identifier les types de fichiers. Grace à la commande file, nous pouvons identifier le type du fichier.
Syntaxe?: fichier [-bcLvz][-f <nom fichier>][-m <fichier de nombres magiques>...][fichier ou répertoire...]
Commande de fichier Linux exemple
Afficher le type de fichier?:
[root@localhost ~]# file install.log install.log: UTF-8 Unicode text[root@localhost ~]# file -b install.log <== 不顯示文件名稱UTF-8 Unicode text[root@localhost ~]# file -i install.log <== 顯示MIME類別。install.log: text/plain; charset=utf-8[root@localhost ~]# file -b -i install.log text/plain; charset=utf-8
Afficher le type de fichier de lien symbolique
[root@localhost ~]# ls -l /var/mail lrwxrwxrwx 1 root root 10 08-13 00:11 /var/mail -> spool/mail[root@localhost ~]# file /var/mail/var/mail: symbolic link to `spool/mail' [root@localhost ~]# file -L /var/mail /var/mail: directory [root@localhost ~]# file /var/spool/mail /var/spool/mail: directory [root@localhost ~]# file -L /var/spool/mail /var/spool/mail: directory