in UNIX ,What is the command to view contents of a large
error log file?
Answers were Sorted based on User's Feedback
Answer / niranjan
1) more filename
2) less filename
3) cat filename|pg
4) pg filename
| Is This Answer Correct ? | 4 Yes | 0 No |
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 |
Answer / subbareddy kake
tail -100 <filenme>:It gives last 100 lines of the file.
| Is This Answer Correct ? | 4 Yes | 2 No |
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 |
What is grep command in unix with examples?
distinguish between physical addresses and logical address?
23 Answers College School Exams Tests, CTS, Infosys, SAX, TATA, TCS,
in UNIX,what is the command to remove directory with files?
Briefly, how do you install Oracle software on UNIX.
How do I run a whois command?
Explain how to use grep command to list find the records of a file containing 10 different strings?
What is the functions of zambie process?
What is the difference between AWK and SED commands? Plz give example and explain...
How do you create a file in UNIX
36 Answers Accenture, EMG, Nokia, QA, TD,
What does this command do? Cat food 1 > kitty
What does 'mkdir' command do in UNIX?
What is rmdir command?