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 |
how can we know the time of creation of zone in solaris
How can a user login to another system on his network remotely?
DIfferent between swap -l & swap -s
How can a user increase the number of pseudo-ttys? what is their use?
Performace degradations in NFSv4 when upgraded from NFSv3? problems with NFS v4?
How can a user login to solaris?
What are the kinds of servers do u have? What is environment? Is it heterogeneous (mix of linux, solaris, other UNIX)?
How do you view shared memory statistics?
How to solve the system hang issue. Found that the memory state is free, commands to check and solve the issue?
Root mirroring in SVM, in Veritas ?
4 Answers HP, IBM, Satyam, Wipro,
How can searches be refined?
ndd -get /dev/hme0 link-mode