in a growing log file how will you see the 1st 99 lines?
Answers were Sorted based on User's Feedback
Answer / 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|
Answer / anshul basra
$ head -99 <filename> will show first 99lines of that file.
|Is This Answer Correct ?||7 Yes||0 No|
Answer / kiruthiga.s
head -99 file name
if file name is test1.txt
head -99 test1.txt
|Is This Answer Correct ?||4 Yes||0 No|
Answer / dinesh babu
sed -n '1,99p' filename
|Is This Answer Correct ?||4 Yes||1 No|
Answer / dibya lochan giri
to see the last 99 lines in a log file you can use the cmd
$ tail -99f <file name>
|Is This Answer Correct ?||9 Yes||7 No|
Answer / dibyalochangiri
ans-using cmd $tail -99f <log file name>
|Is This Answer Correct ?||5 Yes||11 No|
How to open a Database using Unix Command Please Do Reply
Write a command that will find all text files in a directory such that it does not contain the word "amazing" in any form (that is, it must include the words amazing, amazing, or amazing)?
what do you understand by 'building block primitive'?
How do you execute a UNIX command in the background?
What does the command '$ls | wc –l > file1' do?
How to check the flavor of UNIX?
How to find $ai_serual resolved path by using unix
What are the differences among a system call, a library function, and a unix command?
what does the job command do?
how to delete entire records in unix ?
in UNIX,How to copy file into directory?
What is awk command used for?