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


Click here to return to the 'See complete output of ps command' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
See complete output of ps command
Authored by: bindu on Jul 26, '05 10:37:03AM
handy tip along this simple hint, for those who are not familiar with unix...

not sure of the case of the string 'stringToSearchFor'? then use:

grep -i stringToSearchFor
that will even match strINgtoSEARCHfor.

(if you are a unix wizard, pardon my post, but i have found the ignore-case flag so useful (and it allows one to be a little lazy too:))



[ Reply to This | # ]
See complete output of ps command
Authored by: TrumpetPower! on Jul 26, '05 11:52:57AM

When doing case-insensitive searches, it’s a good idea to specify the search string in all lowercase. In some programs, if you specify a case-insensitive search but use uppercase characters in the search string, it'll assume you really know what you're doing and want a case-sensitive search anyway.

Without checking the man page for OS X’s grep, I couldn’t tell you which it is…but it’s a good habit to get into nonetheless.

Cheers,

b&



[ Reply to This | # ]