Files
tldr/pages.ru/common/head.md
K.B.Dharun Krishna f1aa0a8fe5 Revert "pages/*: add standard translation and links (#11331)" (#11374)
This reverts commit 39642c3fed80aaed7212bca6b7cc4c345ed229ee.
2023-11-06 14:02:32 +05:30

21 lines
817 B
Markdown
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
# head
> Выводит первую часть файлов.
> Больше информации: <https://www.gnu.org/software/coreutils/head>.
- Вывести первые несколько строк из файла:
`head -n {{количетсво_строк}} {{имя_файла}}`
- Вывести первые несколько байтов из файла:
`head -c {{количество_байт}} {{имя_файла}}`
- Вывести все содержимое файла кроме нескольких последних строк:
`head -n -{{количетсво_строк}} {{имя_файла}}`
- Вывести все содержимое файла кроме нескольких последних байт:
`head -c -{{количество_байт}} {{имя_файла}}`