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

Root mirroring in veritas?

2 Answers   Satyam, Wipro,


how to create zoneusers

2 Answers   Fujitsu,


what are the ILOM commands are used to troubleshooting sunv490 server on ILOM console mode?

1 Answers   CSC,


How to mount the FLOPPY & CD-ROM?

6 Answers   Zensar,


How do you view shared memory statistics?

3 Answers   IBM,


environment? Is it heterogeneous (mix of linux, solaris,other UNIX)?

0 Answers   Satyam, Wipro,


what is multihomed system?

2 Answers   Satyam, Wipro,


DIfferent between swap -l & swap -s

1 Answers  


How to login to a remote host with solaris secure shell?

0 Answers  


After adding LUNs disk is not showing in the format command. How to resolve that?

3 Answers   IBM,


Explain how to view shared memory statistics?

0 Answers  


How can a user increase the number of pseudo-ttys?

0 Answers  


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)