With this command we can know we are using in Shell terminal. Run:

readlink -f /proc/$$/exe

The shell is usually common in Ubuntu bash.