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 |
why metadb requires a seperate slice to create Solaris volume manager
Give the command for finding the current date.
how will you login one server's shell prompt to an another server?
5 Answers Cosmic Infotech, Perot Systems,
what is the command to find out the difference between files and folders?
Who wrote grep?
What is the comma to display different lines that are found when compare two files?
Hi All, Can you please let me know how to grep for a particular pattern in unix. I want to print the dates from the file exp.txt. the date pattern is DD:MM:YYYY, I just want to print all the dates from the file exp.txt.
8 Answers Concentrix, IBM, Symantec, TCS,
What is the difference between Shell Programming and Shell scripting?
10 Answers HCL, TCS, Wipro,
What command a user use to view a long text file one page at a time in UNIX?
what is kernel?
How do you move a process which is running background to foreground?
What does mkdir up2date; touch outdated up2date do?