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 do you remove a swap space?

0 Answers  


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.

2 Answers  


major diffences b/w solars 9 & 10?

10 Answers   Satyam, Wipro,


List out a few performance monitoring tools.

0 Answers  


Veritas logging file?

1 Answers   Satyam, Wipro,


How to update patch in production server where solaris is running?

1 Answers   Banking,


How can searches be refined?

0 Answers  


What is the importance of shadow file?

3 Answers   Satyam, Wipro,


How to check whether a particular port is open or not?

2 Answers   Satyam, Wipro,


command used to synchronize changes done in /etc/passwd to /etc/shadow file?

5 Answers   Satyam, Wipro,


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

2 Answers   Satyam, Wipro,


How to check whether top command is installed ?

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