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 |
in RAID 0+1 and !+0 which u will preffer(Veritas)0+1
Unable to telnet any of my servers in the network..? wht may be the reason
why u can't go for windows& why u chosen UNIX
What does init 0 do?
How can u configure two DHCP and Two DNS servers r there and u have 100's of users then 1st system takes which DHCP server and which DNS sever
If you can ping a server, but can't telnet or ssh to it, what could be the problem?
What does the pkgadd command do?
what is zone configuration file?
how can u crete snapshot
For maintenance purpose the system will be down and up as per weekly or monthly in production mode ,what are the needed points to mind ,what are that?
what are the software groups in solaries?please explain them?
when i am starting solaris10 with 'fail safe mode' on intel machine it is asking "#starting shell".what is it and how to solve this problem?