ps -ef | grep tomcat: ps -ef的意思是以長格式顯示所有進程,“|”是管道,前面ps的輸出做為後面的輸入,然後grep tomcat是在所有進程裏查找與字符tomcat有關的進程,並顯示 Tags: 管道 文章來源: