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 |
Root mirroring in veritas?
how to create zoneusers
what are the ILOM commands are used to troubleshooting sunv490 server on ILOM console mode?
How to mount the FLOPPY & CD-ROM?
How do you view shared memory statistics?
environment? Is it heterogeneous (mix of linux, solaris,other UNIX)?
what is multihomed system?
DIfferent between swap -l & swap -s
How to login to a remote host with solaris secure shell?
After adding LUNs disk is not showing in the format command. How to resolve that?
Explain how to view shared memory statistics?
How can a user increase the number of pseudo-ttys?