bash tweaks, replace pg with pgrep