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 is the importance of swap memory and how it will supports?

0 Answers  


How to check OBP version?

6 Answers   Satyam, Wipro,


Benefits of SMF compared LRC(legacy run control)?

0 Answers   Satyam, TEKsystems, Wipro,


how can we know the time of creation of zone in solaris

1 Answers   HCL,


how to recover the boot block in soalris 9,i am able to get CDE desktop login.

5 Answers  


difference between ps -ef and prstat

2 Answers   IBM,


Suppose I have 20 gb free space in my file system but my inode size full. How will I increase or how will I fix this issue?

0 Answers  


dif. b/w group and netgroup?

2 Answers   Satyam, Wipro,


How can the output be redirected to some other action process in place showing it in the screen?

0 Answers  


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

0 Answers   Wipro,


Explain the run levels that are used in solaris10?

0 Answers  


How to see veritas licenses?

6 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)