What Is the Difference Between Ps and Ps -E Command in Linux

What is the difference between ps and ps -e command in linux ? ps -e gives a longer list .

1

1 Answer

From the manual,

By default, ps selects all processes with the same effective user ID (euid=EUID) as the current user and associated with the same terminal as the invoker.

For example, if you open a gnome-terminal and give the ps command, it will list all your processes started from that terminal.

ps -e lists all the processes in the system.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Marcus Vance

Marcus Vance

Cybersecurity & Digital Privacy Researcher

Marcus Vance is a cybersecurity auditor and technology writer dedicated to educating the public about online safety, data privacy regulations, enterprise security, and emerging cyber threats.

Share this article
Twitter Facebook Pinterest