Firefoxが起動したら注意してくれるシェルスクリプト
while [ $(ps alx |grep firefox|grep -v grep|wc -l) -lt 1 ]; do sleep 5 done; say "Dont waste your time"
同じようにして特定のプロセスが終了したら教えてくれるスクリプトが書けますね.
while [ $(ps alx |grep firefox|grep -v grep|wc -l) -lt 1 ]; do sleep 5 done; say "Dont waste your time"
同じようにして特定のプロセスが終了したら教えてくれるスクリプトが書けますね.