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 are all the procedures i have to follow while patching a machine which has root mirroring ( SVM ).
How to create null files in solaris ?
What are the monitoring tools do use ?
3 Answers Reddy Labs, Satyam, Wipro,
what is multihomed system?
How to add gateway in solaris ?
How does a solaris cluster work?
how to add Kernel patch in all systems at a time?
What are the raid levels in solaris?
Hardware and software revision information ? showrev
User is not able to perform cron jobs. How do u troubleshoot?
what is the difference between sc> and lom> ?
how to know which version of solaris is installed? uname –a /etc/release