Categories
User Help

Need to match running processes in egrep

I need to find all running processes whose owner is neither root nor Student. I know how to not get running processes whose owner is neither root nor Student by type ps aux | egrep ‘^[^(root)|(Student)]’. I am struggling with get all running processes that aren’t Student or root. Right now, I only get some […]