Linux刪除包含某字串的整行 - LinuxEden · 2011-08-15Table of ContentsPostCommentsRelated Posts如果某行包含 apple 我希望能刪去那一整行(而非變空白) 應該是用sed吧 可是我查到的刪除 都只有指定行號 請問可以指定'包含字串'嗎? -- LinuxAll CommentsUla2011-08-20inverse grep ?grep -vFaithe2011-08-24在vim裡 :g/apple/dAnnie2011-08-28sed '/apple/d' yourfileJoe2011-08-31謝謝Related Posts用cclive下載youtube請問set UID的問題???在xp系統下再灌linux,grub進不了xp?ATI 9200 顯卡driver問題 ??UEFI PXE Server架設 (RHEL6)
All Comments