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 shadow file?
How to create null files in solaris ?
in solaris 10 nfs4 version is using ..in that any new daemons are available or not
What is the cmd used to print default values get by user? Useradd –D
How to see veritas licenses?
What kind of issues you get?
How to view shared memory statistics?
What are the monitoring tools do use ?
3 Answers Reddy Labs, Satyam, Wipro,
How to upgrade diskgroup? Vxdg upgrade
How to add gateway in solaris ?
how to create zoneusers
How do you copy files from remote system using ftp?