LinuxLinux command line - LinuxPoppy · 2008-05-19Table of ContentsPostCommentsRelated Posts在 bash shell 上面有沒有辦法濾掉我不要的東西? 比方說,我想要 ls *.psl 要所有 .psl 結尾的 但我又不要其中的一些 psl 檔案,例如去掉檔名中 有 ABC 的? -- LinuxAll CommentsQuintina2008-05-23用pipe |Vanessa2008-05-24請問 pipe 後面接什麼?Hedwig2008-05-24接text filter, 例如 grep, awk, sed等等文字工具Steve2008-05-26你說的例子我大概會用 ls *.psl | awk '$1!~/ABC/{print $0}'Anonymous2008-05-31感謝,我 awk 不會用啊. grep 也可以做濾掉的唷?Aaliyah2008-06-03我把你給我的字串放入 $() 就可以做其他程式使用了.^^Related Posts消失的空間??ubuntu+virtualbox+xp+clonezilla+ghostDHCP Relay agent information 問題Ctrl+Alt+F1~F6後螢幕一片黑Ubuntu 8.04筆電可不可以進行雙螢幕輸出急問!server死掉了…journal recreate …
All Comments