What is the difference between
ps -ef | grep WDA
ps -ef | grep [W]DA
 rids of the unwanted info?
Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems. It only takes a minute to sign up.Sign up to join this community
WDA is a regular expression that matches itself. Thus the output will sometimes include the process listing for the
[W]DA is a regular expression that does not match itself. Thus the output will not include the process listing for the