0
votes
0answers
28 views

continued… grep -c gives inconsistent outputs [duplicate]

Possible Duplicate: grep -c gives inconsistent outputs I am trying to determine the number of processes that are running via the following command line: ps aux | grep -c 'Xvfb :1' When ...
1
vote
5answers
37 views

Why does the shell perform pathname expansion for utilities?

This question is a sequel of how does grep work? It seems that the shell does the expansion of *.* to all applicable/available files and provide that to utilities like grep. Why does the shell need ...