in a growing log file how will you see the 1st 99 lines?
Answer Posted / sonali
head -99 <file name> - display 1 st 99 lines
tail -99 <file name> - display last 99 lines
| Is This Answer Correct ? | 20 Yes | 2 No |
Post New Answer View All Answers
Is there any method to erase all files in the current directory, along with its all sub-directories, by using only one command?
What does this command do? Cat food 1 > kitty
Why is shebang used?
What do know about tee command?
How do I search for text in vi?
What is the pipe command?
What is command statement?
What does awk stand for?
What is in grep command?
What are grep patterns?
What is {} in find command?
How do I clear my terminal history?
How do you grep a case insensitive?
What is the use of tee command?
How is the command '$cat file2 ' different from '$cat >file2 and >> redirection operators ?