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 do you remove a swap space?
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.
major diffences b/w solars 9 & 10?
List out a few performance monitoring tools.
Veritas logging file?
How to update patch in production server where solaris is running?
How can searches be refined?
What is the importance of shadow file?
How to check whether a particular port is open or not?
command used to synchronize changes done in /etc/passwd to /etc/shadow file?
What is the cmd used to print default values get by user? Useradd –D
How to check whether top command is installed ?