How do you delete tmp files if file system is full becoz of
/tmp dir ?
Answers were Sorted based on User's Feedback
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 |
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 |
If / (root) file system is full,How to increase root file system under Solaris volume manager (SVM)?
what are the ALOM commands are used to troubleshooting sunv440 server on ALOM console mode?
1 Answers Accel, Accel Frontline, Bhel, CSC,
After adding LUNs disk is not showing in the format command. How to resolve that?
Root mirroring in SVM, in Veritas ?
4 Answers HP, IBM, Satyam, Wipro,
What do you understand by mail aliases?
How to create null files in solaris ?
how to create zoneusers
How to solve the system hang issue.
How can a user login to solaris? What is the login shell?
How can a user increase the number of pseudo-ttys? what is their use?
How to reset root password if root password is gone?
Diffrence between Paging & swap?