Linux Command Line Tutorial For Beginners 28 - Head and Tail Commands

preview_player
Показать описание
head - output the first part of files
usage:
head [OPTION]... [FILE]...
DESCRIPTION
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.

========================================================
tail - output the last part of files
usage:
tail [OPTION]... [FILE]...
DESCRIPTION
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.

★★★Top Online Courses From ProgrammingKnowledge ★★★

★★★ Online Courses to learn ★★★

★★★ Follow ★★★

DISCLAIMER: This video and description contains affiliate links, which means that if you click on one of the product links, I’ll receive a small commission. This help support the channel and allows us to continue to make videos like this. Thank you for the support!
Рекомендации по теме
Комментарии
Автор

it was an excellent video and it helped me for understanding head and tail concepts :)

سميةابراهيم-قظ
Автор

If I want to display 5th to 8th lines what is the command?

srinivasnanduri
Автор

Pls clarify why we are use minus (-) and plus (+) symbol .. tail and head commands .. ? And usage .
2. If I need 10th line how can write the command
3. Usage of sed command ?

arunprasath
Автор

I dont know how to find and open silvaco on linux redhat.please guide me

asmanaseri
Автор

Suppose koi book h notepad m to uske bhi first nd last lines display ho jaengekya plz someone tell ??

arpitbisen