Linux鳥哥視頻學習筆記22

正則表達式2 sed的用法 實操 sed -n '/is/p' test 查找含有is的行內容 grep 'is' test 功能效果同上 sed -n '/good/'p test 查找含有good的行內容 sed -n '/^[a-z]/'p test 查找所有小寫字母開頭的行內容 grep '^[a-z]' test 功能同上 sed -n '/!$/'p test 查詢所有以歎號結尾的行
相關文章
相關標籤/搜索