how to save output of 'fuser' to a file
Hi,
I am trying to make a script for checking the "*req" type of files which are not being used.The issue I am facing is, I am not able to save the output of fuser to any file. I tried following commands but not success.
find . -name "*req" -size +10000 -exec fuser {} >> spoolfile.txt \;
find . -name "*req" -size +10000 -exec fuser {} \; >> spoolfile.txt
Can anybody help me on this? or is there any other menthod is present for getting my work done?
Thanks and Regards,
P.Raju
Last edited by p_raju; 05-27-2008 at 11:50 AM.
|