In: Computer Science
Give a bash command that runs "ps -ef" , but only displays items whose UID is not equal to root
Command:
ps -ef | grep -v root
This will excluide all the UIDs with root.
ps -ef is the default one which will include root
The above answers is 100% correct.
If you have any doubts, leave a comment below and I'll help you out
Can you PLEASE UPVOTE. Thank you so much