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 the main difference between windows , unix ,linux, operating syatems? And why the companies in the industry prefer to use solaris os ? why may be the reason?
Difference between secure copy and remote copy
what is the disadvantage of 'tar' command?
explain Jumpstat configuration..?
How can you check that a particular volume is mirrored?
What is the procedure to do kernel patching?
In solaris we have 2 directories for commands. what are they..? is there any difference b/w those..?
Are kernel parameters tunable during runtime?
What is the zone in DNS?
difference b/w solais 8 and 9...?
what r the daily responsibilities of u as a system administrator
10 Answers ADP, IBM, Infosys, Wipro,
You can ping servers on the subnet your workstation is on, but not other subnets. Why?