Javatpoint Logo
Javatpoint Logo

Listing different information

If you want to list different types of information to check who is logged in to your system, use eo option. Where e show all the processes and o controls the output.

Syntax:

Example:

ps -eo pid,user

Security1

Look at the above snapshot, it displays process ID and user name as mentioned in the argument.

Example:

ps -eo pid,user,ppid,args

Security2

Look at the above snapshot, it displays process ID, user name, parent PID and args.






Youtube For Videos Join Our Youtube Channel: Join Now

Feedback


Help Others, Please Share

facebook twitter pinterest

Learn Latest Tutorials


Preparation


Trending Technologies


B.Tech / MCA