Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!


Click here to return to the 'making pidof case insensitive?' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
making pidof case insensitive?
Authored by: dpwk on Jun 25, '03 06:16:23PM

My solution, short and reasonably sweet (I call it pidf):


#!/bin/sh
ps axc | grep -i $1 | awk "{ print \$1}";



[ Reply to This | # ]