I am trying to use the find command to locate log and other dump files more than 90 days old and delete them, but the command is not working correctly.
***COMMAND***
#find /dump/spool -atime +90 -exec \ rm {} \;
***SAMPLE OF RESULTS****
find: 0652-083 Cannot execute rm:: A file or...
I'm using grep to read a file and strip the header records out and feed it to another file. I'm not getting all of the record; grep is chopping off the tailend of the record. It looks like I only get 250 bytes of the record. Any suggestions???????
grep -v "***TOTAL***" file1 > file2
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.