in a growing log file how will you see the 1st 99 lines?

Answer Posted / anshul basra

$ head -99 <filename> will show first 99lines of that file.

Is This Answer Correct ?    7 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is grep short for?

566


Which command is used to create a directory?

582


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

599


why metadb requires a seperate slice to create Solaris volume manager

2564


What is the use of awk command in unix?

589






Explain mount and unmount command.

627


Who invented grep?

664


Describe the zip/unzip command using gzip.

620


What is the search command in unix?

611


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

564


How do I search for text in vi?

597


How do I use nslookup?

579


Write a command that will display files in the current directory, in a colored, long format.

695


How do you grep recursively?

566


What difference between cmp and diff commands?

734