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 do I delete files from command prompt?
What is the use of awk command in unix?
What is a command and examples?
What is unix command?
Enlist some filename manipulation commands in unix.
Why is it called a shebang?
Differentiate cat command from more command.
Explain the steps that a shell follows while processing a command.
What do chmod command do?
Explain how to use grep command to list find the records of a file containing 10 different strings?
hw will u use awk in replacing cahrs and files
What is nr in awk command?
Explain the terms ‘system calls’ and ‘library functions’ with respect to unix commands?
How do I run a whois command?
What is the difference between grep and grep?