[root@testdb2 ~]# grep write_enable=YES /etc/vsftpd/vsftpd.conf
write_enable=YES
#anon_mkdir_write_enable=YES
[root@testdb2 ~]# grep -w write_enable=YES /etc/vsftpd/vsftpd.conf
[root@testdb2 ~]# grep -w ls_recurse_enable=YES /etc/vsftpd/vsftpd.conf
#ls_recurse_enable=YES
ls_recurse_enable=YES
[root@testdb2 ~]# grep -Fx ls_recurse_enable=YES /etc/vsftpd/vsftpd.conf
-w 精确比對
-Fx 完全比對
本文轉自 穿越防火牆 51CTO部落格,原文連結:http://blog.51cto.com/sjitwant/1702561