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 the daemons running In NIS? how to do u create NIS users and update Maps?

5 Answers   Satyam, Wipro,


What can be a reason for the solaris system slowing down? How can it be rectified?

0 Answers  


How to change the default values ( home dir, shell, role, min, max, expire) get by user ?

2 Answers   Satyam, Wipro,


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

0 Answers  


How to make ip address persistent across reboots?

1 Answers   Satyam, Wipro,


What causes the rpc.ttdbserverd process to be cpu bound? How can it be rectified?

0 Answers  


How can threads be created in a solaris environment? Write an example

0 Answers  


Explain the difference between swap -l & swap -s?

0 Answers  


how many zones can be installed in server which has 4 processors?

1 Answers   Oracle,


Explain the types of installations in solaris

0 Answers  


What is the cmd used to print default values get by user? Useradd –D

2 Answers   Satyam, Wipro,


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

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