代码如下:#!/bin/bash#name show_status.sh#echo $$ > /var/run/show_status.log#sleep 5 && kill `cat /var/run/show_status.log` &#start codeecho “hello world”#end code