in a growing log file how will you see the 1st 99 lines?
Answer Posted / kiruthiga.s
Syntax:
head -99 file name
if file name is test1.txt
Example:
head -99 test1.txt
Is This Answer Correct ? | 4 Yes | 0 No |
Post New Answer View All Answers
Does cp command overwrite files?
How does shebang work?
How do I search for text in vi?
Write a command to display a file’s contents in various formats?
What are file commands?
Why is it called a shebang?
What does the command '$ls | wc –l > file1' do?
How do I run a bash script?
What is the difference between awk and grep?
Explain how to use grep command to list find the records of a file containing 10 different strings?
What are bash commands?
What is the significance of the 'tee' command?
Is command prompt unix?
How do I delete files from command prompt?
Name the general commands in using unix os for a beginner?