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 |
describe the escaping sequence characteres in unix
Explain command to view process running?
What is grep command in unix with examples?
Describe the usage and functionality of the command rm –r * in unix?
distinguish between user mode and kernel mode?
How do I clear my terminal history?
The command grep first second third /usr/you/myfile a) prints lines containing the words first, second or third from the file /usr/you/myfile b) searches for lines containing the pattern first in the files second, third, and /usr/you/myfile and prints them c) searches the files /usr/you/myfiel and third for lines containing the words first or second and prints them d) replaces the word first with the word second in the files third and /usr/you/myfile e) None of the above
Enlist some filename manipulation commands in unix.
distinguish between paging and swapping?
what is the command to get help on a UNIX terminal?
What does 'mkdir' command do in UNIX?
How to get a particular string as your prompt ? Give syntax of that command?