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
Write a command that will allow a unix system to shut down in 15 minutes, after which it will perform a reboot.
What does the “echo” command do?
What is difference between grep and find command in unix?
What are the differences among a system call, a library function, and a unix command?
What are reported commands?
What is s and g in sed command?
What is the search command in unix?
What is the functionality of a top command?
How to find $ai_serual resolved path by using unix
What is the significance of the 'tee' command?
What is ctrl d?
What is the use of awk command in unix?
What difference between cmp and diff commands?
Which unix command to make a new directory?
Explain ‘library functions’ with respect to unix commands?