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 to repalce a failed disk?
what is df -kh i/o error ?How to Troubleshoot ?
which is the fast SPARC or Intel ? and why?
what is milestone and what is use of it in Solaris
How to grow a volume?
Are kernel parameters tunable during runtime?
how to repair /etc/system file with out using jump start and without using os software cd
which information superblock contains..?whre u can find the bootblock..?
What is critical filesystem in solaris
what is the diff between Sol9 and Sol10 Booting procedure
hi to all,, i need few real time issues please provide me,, if you have any,,,
What is meant by jumpstart?