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

Sign up or log in

Sign up using Google Sign up using Facebook Sign up using Email and Password

Post as a guest

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

You Might Also Like