0

When I executed ps ef command in a linux server, I saw that one of the command starts with \_. For example,

\_ /bin/sh /usr/

Could any one please let me know what is the meaning of \_ in this command?

  • I think you are confusing the BSD syntax and the standard syntax. Do you mean ps -ef instead of ps ef? Note the dash. – lesmana May 13 '13 at 7:53
  • @lesmana ps f is the syntax that produces this output (in the default personality). – Gilles 'SO- stop being evil' May 13 '13 at 22:55
3

It means the child process of the parent process ID. Because ps ef will show you list processes in a hierarchy.

This is from man ps:

f     ASCII art process hierarchy (forest)

Your Answer

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

Not the answer you're looking for? Browse other questions tagged or ask your own question.