M Man Ly New member Jan 7, 2022 #1 How do I print the first line of a file 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.
How do I print the first line of a file 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.