Команда file: опции, ключи и примеры использования
file
Determine file type.
- Give a description of the type of the specified file. Works fine for files with no file extension:
file {{filename}}
- Look inside a zipped file and determine the file type(s) inside:
file -z {{foo.zip}}
- Allow file to work with special or device files:
file -s {{filename}}
- Don't stop at first file type match; keep going until the end of the file:
file -k {{filename}}
- Determine the mime encoding type of a file:
file -I {{filename}}
Также может быть вам интересно:
- Как на Bash посчитать число строк в проекте (директории)
- 25 января вышло новое крупное обновление Age of Empires II DE: Lords of the West
- И снова sudo, и снова "решето"
- Только одна из десяти компаний ожидает, что все работники вернутся в офисы
- Google Play временно забанил видео-плеер за поддержку неправильных субтитров