Answer Posted / abani_mahana
sed -n '1p' <filename>
head -n filename | tail -1
(change n as per your requirements)
Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
How do you grep a case insensitive?
What is grep command in unix with examples?
What is grep and how do you use it?
What do chgrp command do?
What does the metacharacter mean?
What does grep v do?
What does grep v grep do?
What is grep in bash?
What is awk used for?
What is the use of the tee command?
Is command prompt unix?
Using unix command how to display no of records in oracle?
Enumerate some of the most commonly used network commands in unix?
What is sed awk grep?
Which command can you use to find the currently running process in unix server?