Différences
Ci-dessous, les différences entre deux révisions de la page.
Les deux révisions précédentesRévision précédente | |
cmd:file [2017/06/22 01:15] – Ajout de "data" root | cmd:file [2020/04/27 10:10] (Version actuelle) – maff -> html root |
---|
| |
=====data==== | =====data==== |
Si ''file'' n'arrive à rien, il faut analyser le fichier avec d'autres outils ([[https://superuser.com/questions/411214/what-could-cause-the-file-command-in-linux-to-report-a-text-file-as-data|Source]], {{ :cmd:file:bash_-_what_could_cause_the_file_command_in_linux_to_report_a_text_file_as_data_-_super_user.htm.maff |Archive}}) : | Si ''file'' n'arrive à rien, il faut analyser le fichier avec d'autres outils ([[https://superuser.com/questions/411214/what-could-cause-the-file-command-in-linux-to-report-a-text-file-as-data|What could cause the file command in Linux to report a text file as data?]] {{ :cmd:file:bash_-_what_could_cause_the_file_command_in_linux_to_report_a_text_file_as_data_-_super_user_2020-04-27_10_09_47_am_.html |Archive du 11/04/2012 le 27/04/2020}} |
| |
head -n 10 file | head -n 10 file |
| |
Par exemple, une partition ''UDF'' renverra ''data'' mais ''head -n 1'' renverra ''BEA01'' qui sera l'indice suffisant pour Google. | Par exemple, une partition ''UDF'' renverra ''data'' mais ''head -n 1'' renverra ''BEA01'' qui sera l'indice suffisant pour Google. |