-
-
Save minkcv/81b742920315e01b3bb9 to your computer and use it in GitHub Desktop.
grep for a process
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
#!/bin/bash | |
ps aux | head -n 1 | |
ps aux | grep $1 | |
#should this be ps aux | grep $@ ? |
zkxs
commented
Jul 20, 2015
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment