What does the
| symbol mean in
sudo ps -ef | grep processname command?
Also can anyone please explain this command? I have used this command only for getting the PID and killing that process, but I also saw
sudo ps -ef | grep processname | grep -v grep and I am under the impression that
-v grep is like killing the previous generated PID for
grep. If that's so how does it work?