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 check network card speed ? set it mode(half/full duplex)? ndd -get /dev/hme0 link-speed
What can be a reason for the solaris system slowing down? How can it be rectified?
what are the daemons running In NIS? how to do u create NIS users and update Maps?
How can a user increase the number of pseudo-ttys? what is their use?
They have user like aa with home dir /export/home/aa. They want to change home dir to /export/home/bb & username remains same. User files in /export/home/aa moved to bb? What do u do?
what is multihomed system?
How to create null files in solaris ?
How to upgrade diskgroup? Vxdg upgrade
What is the cmd used to print default values get by user? Useradd –D
What can be a reason for the solaris system slowing down?
How to mount the FLOPPY & CD-ROM?
How can abiword be compiled for solaris using gcc?