Linux
install module pf perl
export PERL5LIB="\$HOME/.cpan/build:\$PERL5LIB"
cpan YAML/Tiny.pm
ckeck process if runin
pgrep nvim
ps -C nginx
ps aux | grep "nvim" | awk ' \$11 == "nvim" {print \$11}'
- conddtion
if pgrep -x "gedit" > /dev/null
then
echo "Running"
else
echo "Stopped"
fi
calcule: sha hash
xbps-install -Sy coreutils
sha1sum
sha256sum
fix greedy
perl -pe 's#a.*?a#--#'