what is the command to print last 8 lines of any text file.

Answer Posted / ravikishore

cat <f.n> | tail -8

Is This Answer Correct ?    2 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Write a command to display a file’s contents in various formats?

627


What is the command to find hidden files in the current directory?

585


What is in grep command?

650


What is the pipe command?

578


Explain ‘system calls’ with respect to unix commands?

604






Which unix command to make a new directory?

592


How do I clear my terminal history?

586


What does #!/ Bin sh do?

593


How do I use grep to find a file?

583


What command is used to check the current users?

596


What is difference between grep and find command in unix?

580


What do chmod command do?

606


Is there any method to erase all files in the current directory, along with its all sub-directories, by using only one command?

591


Is grep faster than awk?

561


Can you enlist some commonly used network commands?

602