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

Answer Posted / indu sharma

cat <filename> | head -n 8

Is This Answer Correct ?    2 Yes 17 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Are you in or at the office?

623


Which command will print your home directory on screen?

558


What happens when we execute a unix command?

606


What is rmdir command?

559


What is pipe command in unix?

682






How do I search for text in vi?

595


Name the various commands that are used for the user information in unix.

549


What is awk command used for?

605


What is a bash command?

629


What is the comma to show the space allocation of files?

564


What are the unix commands?

563


Enumerate some of the most commonly used network commands in unix?

624


What is the search command in unix?

611


Explain ‘system calls’ with respect to unix commands?

608


What is the comma to display different lines that are found when compare two files?

601