Skip to content

Instantly share code, notes, and snippets.

@eduan
Created January 4, 2016 17:00
Show Gist options
  • Save eduan/32dbe30d8174f4e2c5dc to your computer and use it in GitHub Desktop.
Save eduan/32dbe30d8174f4e2c5dc to your computer and use it in GitHub Desktop.
verificando se processo já existe antes de executá-lo
if ((`pgrep pavucontrol` > 0)); then echo 'ja existe'; else pavucontrol; fi
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment