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

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

1 Answers   HCL,


How can a user login to another system on his network remotely?

0 Answers  


DIfferent between swap -l & swap -s

1 Answers  


How can a user increase the number of pseudo-ttys? what is their use?

0 Answers  


Performace degradations in NFSv4 when upgraded from NFSv3? problems with NFS v4?

0 Answers   IBM, Satyam, Wipro,


How can a user login to solaris?

0 Answers  


What are the kinds of servers do u have? What is environment? Is it heterogeneous (mix of linux, solaris, other UNIX)?

1 Answers   Satyam, Wipro,


How do you view shared memory statistics?

3 Answers   IBM,


How to solve the system hang issue. Found that the memory state is free, commands to check and solve the issue?

0 Answers  


Root mirroring in SVM, in Veritas ?

4 Answers   HP, IBM, Satyam, Wipro,


How can searches be refined?

0 Answers  


ndd -get /dev/hme0 link-mode

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)