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 |
How to delete a directory containing files and folders?
Is there any method to erase all files in the current directory, along with its all sub-directories, by using only one command?
Write a command that will display files in the current directory, in a colored, long format.
What is the procedure of "at" and crontab" commands?
what is the advaantage of each user having its own copy of the shell?
What is merge command in unix?
What is the Unix file system hierarchy?
How can you see the command line history?
what is the cmd to remove the comment lines from a file and to display the original text without comments? thanks in advance......
What are some command words?
how to find largest file?
14 Answers HCL, Microsoft, Thomson Reuters,
What command a user use to view a long text file one page at a time in UNIX?