Hi All,
Q. I have one log file that log file contains application
message but the application message in log file not append
any date value. so after 1 to 2 date that file is big size ,
I want to delete contents only that was appended before 4
days ago from that single file and rest of the file contents
would be remains same.
Answers were Sorted based on User's Feedback
Answer / srinivas
there are two ways to find files
1)find /var/adm/log -atime -4
2)tail -f n 20 /var/adm/log
| Is This Answer Correct ? | 0 Yes | 0 No |
How can you check that a particular volume is mirrored?
wat is router? How do u find a default router?
how can u view installed packages
how to check the status of import and deport dg?
what file shows all available ports?
How would you freeze a service group?
How can u configure DNS & configuration files
1 Answers IBM, Ness Technologies, Symantec, YP Soft,
how to delete a zone?
In solaris we have two directories for commands,what are they, Is there any difference between those.
How do u know that,what patch can be applicable on the system?
kernel patch installation in solaris?
How would switch a service group?