in UNIX ,What is the command to view contents of a large
error log file?

Answers were Sorted based on User's Feedback



in UNIX ,What is the command to view contents of a large error log file? ..

Answer / naveen badam

more <filename>

Is This Answer Correct ?    10 Yes 1 No

in UNIX ,What is the command to view contents of a large error log file? ..

Answer / niranjan

1) more filename

2) less filename

3) cat filename|pg

4) pg filename

Is This Answer Correct ?    4 Yes 0 No

in UNIX ,What is the command to view contents of a large error log file? ..

Answer / yuvaevergreen

various options are available. more,pg,less are available.
Generally,users view the last part of a log file.For that
tail is used.

Is This Answer Correct ?    3 Yes 0 No

in UNIX ,What is the command to view contents of a large error log file? ..

Answer / subbareddy kake

tail -100 <filenme>:It gives last 100 lines of the file.

Is This Answer Correct ?    4 Yes 2 No

in UNIX ,What is the command to view contents of a large error log file? ..

Answer / aseem

More command is most appropriate. Head and tail can only be
used is if you want to see, say 100 lines of files or
something like that but it never helpful to see the entire file.

more <file name>

Is This Answer Correct ?    3 Yes 1 No

in UNIX ,What is the command to view contents of a large error log file? ..

Answer / dilipsimha

tail

Is This Answer Correct ?    6 Yes 6 No

in UNIX ,What is the command to view contents of a large error log file? ..

Answer / kiruthiga.s

/var/adm/messages

Is This Answer Correct ?    0 Yes 1 No

Post New Answer

More Unix Commands Interview Questions

What is the command to view process running?

0 Answers  


How to replace the exact word in vi editor?? suppose a file contains words like amaze,amazed,amazement in some of the line.But i want to replace only 'amaze' with delight but don't wanna replace amazed or amazement. thanks

6 Answers   Polaris, Tech Mahindra,


How do you repeat a command in terminal?

0 Answers  


what does a process mean?

5 Answers   Infosys,


Explain the read, write, and execute permissions on a UNIX directory.

5 Answers  






distinguish between paging and swapping?

1 Answers   Infosys,


solaris Run level?

3 Answers   Wipro,


if we create a file, in that 10 rows(means 1,2,....9,10 like). i want 7 row exactly, which command use in unix? plz send this question.

28 Answers   TCS,


What does the command ' $who | sort –logfile > newfile' do?

0 Answers  


How to setup sudo, only can use for particular date & time only ( for solaris10 )

1 Answers   ups,


distinguish between user mode and kernel mode?

6 Answers   Infosys,


Will rm -r* removes hidden files?

10 Answers  


Categories