1

enter image description here

I have two bash running; one is Terminal application that runs bash, the other one is xterm application that runs bash.

With ps -f, I have -bash one, and bash at the other. What makes this difference?

prosseek
  • 8,558

1 Answers1

0

I found an answer from this post: https://unix.stackexchange.com/a/46856/1090

It means that bash executed from Terminal is login-shell (-bash), when the bash from xterm is not (bash).

prosseek
  • 8,558