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

hw will u use awk in replacing cahrs and files

2742


What is the command to compare two files in unix?

630


What is awk used for?

628


Is grep faster than awk?

573


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

633






What is a command and examples?

595


What is the use of awk command in unix?

589


Who command in unix?

586


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

603


What does the command ' $who | sort –logfile > newfile' do?

776


What is the command to find maximum memory taking process on the server?

680


How do I open a port?

600


What's a command word?

599


Describe the usage and functionality of the command rm –r * in unix?

833


What are the unix commands?

567