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 to mount the FLOPPY & CD-ROM?
how to check network card speed ? set it mode(half/full duplex)? ndd -get /dev/hme0 link-speed
solaris booting process.
What are nfs daemons?
How to check whether top command is installed ?
How to configure Veritas Kernel? Daemons in Veritas VM?
What are the kinds of servers do u have? What is environment? Is it heterogeneous (mix of linux, solaris, other UNIX)?
How can a user login to solaris?
how would we know a file system exists on a slice when it is unmounted from its mount point. please anyone help me out.
How to check whether a particular port is open or not?
How can threads be created in a solaris environment? Write an example
Explain the run levels that are used in solaris10?