简体   繁体   English

在Linux中查找具有某些文件大小的文件

[英]Find files with certain filesize in Linux

i need to find all index.php files with file size of 1.905 bytes. 我需要找到文件大小为1.905字节的所有index.php文件。 I have over 700+ websites and 2/5 of them are hacked and have index.php with this filesize. 我有超过700多个网站,其中2/5被黑客入侵,并且使用此文件大小的index.php。 Please help me!!! 请帮我!!!

要在/var/www下查找名称为index.php且大小正好为1905字节的文件:

find /var/www -name index.php -size 1905c

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM