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 |
Tell me how to set the path for core file?
Discuss the two modes of the vi editor in solaris.
what is the main usage of maintaining the system logs in solaris
How can threads be created in a solaris environment? Write an example
Solaris booting process?
how to clear inode usage?
How to view shared memory statistics?
How to create null files in solaris ?
Suppose 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?
How to check whether top command is installed ?
What is the login shell?
Hardware and software revision information ? showrev