egrep是用extended regular expression语法来解读的,而grep则用basic regular expression 语法解读,extended regular expression比basic regular expression的表达更规范。 用法: [root@centos8 ~]# cd /etc/ [root@centos8 etc]# egrep "Linux" redhat-release os-release services redhat-release:CentOS Linux release...