1. Information

  • Type the following command in a terminal to see which shell you are using.

    echo $0                 # -bash         # When inside bash shell.
    echo $0                 # sh            # When inside dash shell.

2. Shell Parameter Expansion