2
1
Can someone please explain why when i issue:
su
echo $0
it says:
bash
when
su -
echo $0
it says:
-su
?
Am i right that in the 1-st case (just su
) current shell spawns a new non-interactive shell while in the second case (su -
) it just stays with the current shell?