in UNIX ,What is the command to view contents of a large
error log file?

Answer Posted / niranjan

1) more filename

2) less filename

3) cat filename|pg

4) pg filename

Is This Answer Correct ?    4 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

how to sort the content of the file based on numeric values

1257


Explain how to use grep command to list find the records of a file containing 10 different strings?

598


What is the difference between awk and grep?

561


How do I delete files from command prompt?

555


Can you enlist some commonly used network commands?

604






When i run a programm of orphan process. Instead of getting child's parent (ppid)=1 ..i get 1400 and it varies as per system. How can i findthe right soluion??? My pgm: #include # include int main() { int pid; pid=fork(); if(pid < 0) {exit(-1);} else if(pid==0) { printf("Child Process is Sleeping ..."); sleep(10); printf("Orphan Child's Parent ID : %u ",getppid()); } else { printf("Parent Process Completed ... %u ",getpid()); exit(0); } return 0; } Output:

1768


What is awk used for?

626


why metadb requires a seperate slice to create Solaris volume manager

2558


What does #!/ Bin sh do?

599


What is time_t?

590


Explain command to show the space allocation of files?

633


Describe the usage and functionality of the command rm –r * in unix?

830


How does pipe () work?

599


What is grep r?

596


How to display no of records in oracle using unix command?

591