How did i force a Linux shell to properly interpret the `PS1` value in `.profile`?

Step 1

How do I detect the used shell in Linux?

Step 2

How did I switch from a custom shell to Bash in Linux?