what is the command to print last 8 lines of any text file.
Answer Posted / meghna
sed -n '$-8 , $p' filename
Is This Answer Correct ? | 0 Yes | 1 No |
Post New Answer View All Answers
how to sort the content of the file based on numeric values
What is the difference between cat command and more command?
What is the difference between grep and grep?
What is the behavioural difference between cmp and diff commands?
How do I search a whole word in vim?
What is the nmap command?
Explain ‘library functions’ with respect to unix commands?
What is ‘ps’ command for?
Describe the usage and functionality of the command rm –r * in unix?
What are bash commands?
What is the function of grep command in unix?
What is .sh file?
Give the command for finding the current date.
What is grep and how do you use it?
Explain the terms ‘system calls’ and ‘library functions’ with respect to unix commands?