[linux學習](linuxprobe課程)三 管道符、重定向與環境變量

輸入輸出重定向 cat a | tr [a-z] [A-Z] >> a 把文件a中小寫換大寫 tail -f his.log &>> `date 「+%Y%m%d」` 動態日誌輸出到某個文件下,用於定位問題 管道符 ps -ef | grep tomcat 查看tomcat的進程 ps -ef | grep tomcat | wc -l 有幾個tomcat進程 grep a b | wc -l 統
相關文章
相關標籤/搜索