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...


How do you delete tmp files if file system is full becoz of
/tmp dir ?

Answers were Sorted based on User's Feedback



How do you delete tmp files if file system is full becoz of /tmp dir ?..

Answer / deepak kumar

ls -l /tmp |grep *.tmp | awk {'print $9'} | xargs -i rm {}

or
find /tmp -name "*.tmp" -exec rm {}/?

Is This Answer Correct ?    0 Yes 0 No

How do you delete tmp files if file system is full becoz of /tmp dir ?..

Answer / ole tange

The xargs solution is dangerous if names contain spaces. See
http://en.wikipedia.org/wiki/Xargs#The_separator_problem

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Solaris General Interview Questions

what are all the procedures i have to follow while patching a machine which has root mirroring ( SVM ).

2 Answers  


How to create null files in solaris ?

5 Answers   Satyam, Wipro,


What are the monitoring tools do use ?

3 Answers   Reddy Labs, Satyam, Wipro,


what is multihomed system?

2 Answers   Satyam, Wipro,


How to add gateway in solaris ?

1 Answers   Satyam, Wipro,


How does a solaris cluster work?

0 Answers  


how to add Kernel patch in all systems at a time?

0 Answers   Wipro,


What are the raid levels in solaris?

0 Answers  


Hardware and software revision information ? showrev

3 Answers   Satyam, Wipro,


User is not able to perform cron jobs. How do u troubleshoot?

6 Answers   Satyam, Wipro,


what is the difference between sc> and lom> ?

2 Answers  


how to know which version of solaris is installed? uname –a /etc/release

3 Answers   Satyam, Wipro,


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)