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 difference between SED and GREP ? Which one is more better and why?

4 Answers   IBM,


Give the command for finding the current date.

0 Answers  


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

7 Answers  


What is the functions of zambie process?

3 Answers  


what is the use of "fg" command ?

5 Answers   PSU, Sail,






Why is it called a shebang?

0 Answers  


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)?

0 Answers  


How do you know about running processes of a particular user?

11 Answers  


which command is used to identify the type of the file?

3 Answers  


How do you find out all processes that are currently running in UNIX OS?

10 Answers  


What happens when we execute a unix command?

0 Answers  


What is a command and examples?

0 Answers  


Categories