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 |
what is the importance of swap memory and how it will supports?
How to check OBP version?
Benefits of SMF compared LRC(legacy run control)?
0 Answers Satyam, TEKsystems, Wipro,
how can we know the time of creation of zone in solaris
how to recover the boot block in soalris 9,i am able to get CDE desktop login.
difference between ps -ef and prstat
Suppose 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?
dif. b/w group and netgroup?
How can the output be redirected to some other action process in place showing it in the screen?
how to add Kernel patch in all systems at a time?
Explain the run levels that are used in solaris10?
How to see veritas licenses?