Linux去除文件注释和空行 2023-10-02T22:12:00 去除注释和空行grep -v "^#" /etc/redis/redis.conf | grep -v "^$"去除注释和空行并写入文件grep -v "^#" /etc/redis/redis.conf | grep -v "^$" > /etc/redis/new_redis.conf 当前页面是本站的「Baidu MIP」版。发表评论请点击:完整版 »