What did this linux command do?
I recently logged into a redhat machine and did the following:
cd /var/log/
find . -size +25k -exec rm {} \;
What I wanted to accomplish is to delete all log files in directory /var/log/ that were of 25K. Did I accomplish my task? Or did I delete all files 25k on my Redhat Server?
The command just seems too dangerous, and I dont know if I deleted all files on my hard drive that were 25K.
Anyone answer this question for me?
Thanks
|