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
What is difference between grep and find command in unix?
Explain how to use grep command to list find the records of a file containing 10 different strings?
What is sed awk grep?
Explain ‘library functions’ with respect to unix commands?
What is nr in awk command?
Describe the zip/unzip command using gzip.
how to sort the content of the file based on numeric values
What is used to type command?
Give the command for finding the current date.
Explain command to display different lines that are found when compare two files?
How do I run a whois command?
Is there any method to erase all files in the current directory, along with its all sub-directories, by using only one command?
Why is shebang used?
What is the search command in unix?
What are the commands in UNIX to list the files in a Directory?