I want to know exactly what this particular command
ps -ef|grep processname
means and how it works. I know that this should be associated with processname which we want to search for, but I don't get the prefix part; what do -ef and |(pipe) do and how does -ef|grep as a whole work. Upon googling a bit I found grep is used for searching purposes, but I would love a simple explanation of how this command setting works.