4
votes
1answer
346 views

Why is $0 set to -bash?

First login process name seems to be set to -bash, but if I subshell then it becomes bash. for example: root@nowere:~# echo $0 -bash root@nowere:~# bash root@nowere:~# echo $0 bash -bash is ...