How do you print the first line in Unix?

How do you print the first line in Unix?
Answer
1. The default command which comes to our mind is the head command. head with the
option “-1”
displays the first line.
 

Tìm kiếm

Back
Top