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 |
Tell me how to set the path for core file?
How to recover failed disks in vxvm?
What are the comman user problems?
Root mirroring in SVM, in Veritas ?
4 Answers HP, IBM, Satyam, Wipro,
what is the difference between svm and vxvm
4 Answers Infosys, Tech Mahindra, VxVM,
How to check version VXVM? Pkginfo –l | grep VRTS
Veritas logging file?
how many zones can be installed in server which has 4 processors?
what are the run levels that are used in solaris10?
How can a user login to solaris?
what are the ALOM commands are used to troubleshooting sunv440 server on ALOM console mode?
1 Answers Accel, Accel Frontline, Bhel, CSC,
What is master map?