Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


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



Hi All, Q. I have one log file that log file contains application message but the application mess..

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

Hi All, Q. I have one log file that log file contains application message but the application mess..

Answer / nagireddy

Using Logadm command. For more information see man page

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Solaris AllOther Interview Questions

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?

1 Answers   Wipro,


how to see the kernel information or how many bit operating system you have

8 Answers   IBM,


In solaris we have two directories for commands,what are they, Is there any difference between those.

3 Answers  


how to check packets transmission statistcs b/w servers..?

3 Answers  


what is behavior of system if /var is 100% full.what you'll do to overcome it?

1 Answers   Thomson Reuters,


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

6 Answers   IBM,


How to check number of disks added to system

4 Answers  


Unable to telnet any of my servers in the network..? wht may be the reason

3 Answers   HP,


What is the difference between failing and failed disks?

3 Answers   IBM, Sascon, Sun Microsystems,


how u will recover the disk group

2 Answers   IBM,


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?

0 Answers   TCS,


Categories
  • Solaris Commands Interview Questions Solaris Commands (360)
  • Solaris Threads Interview Questions Solaris Threads (9)
  • Solaris IPC Interview Questions Solaris IPC (30)
  • Solaris Socket Programming Interview Questions Solaris Socket Programming (3)
  • Solaris System Calls Interview Questions Solaris System Calls (25)
  • Solaris General Interview Questions Solaris General (170)
  • Solaris AllOther Interview Questions Solaris AllOther (297)