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 usage and functionality of the command rm –r * in unix?
29. How to display top 10 users Who | head -10 | wc –w
How do you know about running processes of a particular user?
what do you understand bythe term 'de-mountable volumes'?
What is the difference between a hard link and a soft link in Unix?
what is Online(STM) and offline diagnostics in HP-UX?
what is the difference between npar and vpar in HP-UX?
If JFS file system is 100% full how we can increase the file system ?
What is the output of : $ ps-e $ ps-a commands
What are awk commands?
Who command in unix?
How does the user view the contents of a text file in UNIX?