参见英文答案 >
How to suppress Terminated message after killing in bash?12个
我运行一个脚本,如:
我运行一个脚本,如:
sleep 20 & PID=$! kill -9 $PID >/dev/null 2>&1
line 51: 22943 Killed sleep