Timeline for Difference between $0 and $SHELL?
Current License: CC BY-SA 4.0
6 events
| when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| Sep 16, 2021 at 20:33 | comment | added | Kusalananda♦ | @teja_M19 Good! If this solves your issue, please consider accepting the answer. Accepting an answer marks the issue as resolved. | |
| Sep 16, 2021 at 20:26 | comment | added | teja_M19 | Thanks dude for your help and time | |
| Sep 16, 2021 at 20:12 | comment | added | FelixJN | @ilkkachu answer adapted. | |
| Sep 16, 2021 at 20:12 | history | edited | FelixJN | CC BY-SA 4.0 | added 218 characters in body |
| Sep 16, 2021 at 19:46 | comment | added | ilkkachu | in particular, in Bash SHELL "expands to the full pathname to the shell. If it is not set when the shell starts, Bash assigns to it the full pathname of the current user’s login shell." -- gnu.org/software/bash/manual/bash.html#Shell-Variables (so it might not be actually related in any way, e.g. (unset SHELL; bash -c 'echo $SHELL') might well print /usr/bin/zsh...) | |
| Sep 16, 2021 at 19:43 | history | answered | FelixJN | CC BY-SA 4.0 |