scriptの二重起動の防止
code:bash
#!/bin/bash
if $(pgrep "script") ; then
exit 0
else
script -a -f -c bash
fi