🌈 搜索
📅  最后修改于: 2022-03-11 14:50:27.086000             🧑  作者: Mango
if grep -Fxq "pattern_to_search" file.txt; then #check if pattern string in file #do something fi