Miscellany
public shellscript v1 · immutablelsof -c updatedb > udate.txtrunning=`cat udate.txt | grep -c updatedb`if [ $running = 0 ]; thenkdialog --msgbox "updatedb is not running"elseuntil [ $running = 0 ]; dolet running=`lsof -c updatedb | grep -c updatedb`donekdialog --msgbox "updatedb is done!"firm udate.txt