Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

> $SHELL current shell

No, $SHELL is the user’s default shell; i.e. the shell started in a new terminal or when logging in on a console or remotely. If another shell program is started, $SHELL will still refer to the default shell, not the running shell program.



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: