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 samba server if we share a file like a.txt from unix(solaris) to windows how it displays at windows.wheather like a.txt (or)A.txt.any case sensitive.why?
how to see the kernel information or how many bit operating system you have
In solaris we have two directories for commands,what are they, Is there any difference between those.
how to check packets transmission statistcs b/w servers..?
what is behavior of system if /var is 100% full.what you'll do to overcome it?
What is VTS?
8 Answers Bharti, Sun Microsystems, Suncore Microsystems,
how to create 30 gb of volume using raid 0 concatination on three different disk
How to check number of disks added to system
Unable to telnet any of my servers in the network..? wht may be the reason
What is the difference between failing and failed disks?
3 Answers IBM, Sascon, Sun Microsystems,
how u will recover the disk group
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?