2 Formatting & grammar
source | link

The 'which'which command searches through directories specified in your $PATH$PATH variable and returns the first match it finds as this will be the file which will be executed. $SHELL

$SHELL returns the canonical name of the file currently running, ie.eg., /bin/bash/bin/bash. /usr/bin/bash/usr/bin/bash is probably a link to /bin/bash/bin/bash anyway. Use $SHELL$SHELL to find the name of your current command interpreter.

The 'which' command searches through directories specified in your $PATH variable and returns the first match it finds as this will be the file which will be executed. $SHELL returns the canonical name of the file currently running, i.e. /bin/bash. /usr/bin/bash is probably a link to /bin/bash anyway. Use $SHELL to find the name of your current command interpreter.

The which command searches through directories specified in your $PATH variable and returns the first match it finds as this will be the file which will be executed.

$SHELL returns the canonical name of the file currently running, e.g., /bin/bash. /usr/bin/bash is probably a link to /bin/bash anyway. Use $SHELL to find the name of your current command interpreter.

1
source | link

The 'which' command searches through directories specified in your $PATH variable and returns the first match it finds as this will be the file which will be executed. $SHELL returns the canonical name of the file currently running, i.e. /bin/bash. /usr/bin/bash is probably a link to /bin/bash anyway. Use $SHELL to find the name of your current command interpreter.