首页 > 代码库 > grep -i 不区分大小写

grep -i 不区分大小写

 

# rpm -qa|grep -i "mysql"
MySQL-server-5.6.34-1.rhel5.x86_64
MySQL-test-5.6.34-1.rhel5.x86_64
MySQL-embedded-5.6.34-1.rhel5.x86_64
MySQL-devel-5.6.34-1.rhel5.x86_64
MySQL-shared-5.6.34-1.rhel5.x86_64
MySQL-client-5.6.34-1.rhel5.x86_64
MySQL-shared-compat-5.6.34-1.rhel5.x86_64

 

grep -i 不区分大小写