Команда head: опции, ключи и примеры использования
head
Output the first part of files.
- Output the first few lines of a file:
head -n {{count_of_lines}} {{filename}}
- Output the first few bytes of a file:
head -c {{size_in_bytes}} {{filename}}
- Output everything but the last few lines of a file:
head -n -{{count_of_lines}} {{filename}}
- Output everything but the last few bytes of a file:
head -c -{{size_in_bytes}} {{filename}}
Также может быть вам интересно:
- 25 января вышло новое крупное обновление Age of Empires II DE: Lords of the West
- И снова sudo, и снова "решето"
- Только одна из десяти компаний ожидает, что все работники вернутся в офисы
- Google Play временно забанил видео-плеер за поддержку неправильных субтитров
- Google прекращает поддержку сторонних приложений в API Chrome-like