Linux Command Line Tutorial | head command | tail command To check Log Files | FOTV

Опубликовано: 12 Февраль 2026
на канале: Dilkush
2,807
28

Print the first 10 lines of each FILE to standard output. With more than one FILE, precede each with a header giving the file name. With no FILE, or when FILE is -, read standard input.

head filename

Print the last 10 lines of each FILE to standard output. With more than one FILE, precede each with a header giving the file name. With no FILE, or when FILE is -, read standard input.

tail -f filename