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 |
NIS is configured, users are try to connect in client systems 'unknown id' is displayed. what is the problem?
How do you view shared memory statistics?
what r the files that the SVM perfumes
how to install multiple patches
What is lofs in zones
purpose of lost+found..?
software distribution in solaris
booting process in solaris
13 Answers IBM, OMS, Wipro,
what is the command to replace a failed disk in vxvm with example?
What is the difference between initialization & encapsulation in VXVM?
wht is the purpose of autofs and automountd commands..?
difference b/w solais 8 and 9...?