This question already has an answer here:
When I open a terminal on my own computer and run
echo $0, I get
/bin/bash - which is the name of the executable being run.
However, when I run
echo $0 in an ssh session, I get
-bash. Why? What does the dash mean? It's not like there is a command named