Created
January 4, 2016 17:00
-
-
Save eduan/32dbe30d8174f4e2c5dc to your computer and use it in GitHub Desktop.
verificando se processo já existe antes de executá-lo
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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