Most powerful examples of Unix commands or scripts every programmer should know

后端 未结 25 1462
遇见更好的自我
遇见更好的自我 2021-01-29 18:14

There are many things that all programmers should know, but I am particularly interested in the Unix/Linux commands that we should all know. For accomplishing tasks that we may

25条回答
  •  盖世英雄少女心
    2021-01-29 18:59

    Finding PIDs without the grep itself showing up

    export CUPSPID=`ps -ef | grep cups | grep -v grep | awk '{print $2;}'`
    

提交回复
热议问题