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 OBP and how do you access it?
u have 10 solaris boxes and u have given to add 200 users? At fast how can u add the 200 users?
what is the use RAID and which is the best(Solaris)
what are the questions that will be asked for a 3yrs experienced candidate in solaris system admin. how to face first hr round if one puts fake experience of 2or 3 yrs in solaris system admin. please respond with an opt answer. thank you in advance...
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?
If a user logs in to UNIX, it displays the desktop and then immediately logs you back out, what could be wrong?
How to findout particular file in the backup tape with the help of ufsdump
What is JASS?
what r the port numbers for HTTP and DNS
How to check memory statics..?
What is VTS?
8 Answers Bharti, Sun Microsystems, Suncore Microsystems,
How to create a gateway?