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 |
what is split brain? if it happens, what are the solutions need to be applicable?
If you can ping a server, but can't telnet or ssh to it, whats wrong?
user trying to login the system says invalid passwd but when u see the user in the nis master the user exists so what will be the problem and how to fix it
how to check packets transmission statistcs b/w servers..?
what r the configuration files for SAMBA and how can u configure samba on network with windows machines
File system creation steps??
what is major number and what is minor number..?
What is a Split brain scenario ?
If My Server is Suddenly Down what are the reasons? Tell me Exact time of Ping?
what is port no for telnet?
How would switch a service group?
what is the diff between Sol9 and Sol10 Booting procedure