How to know which shell I'm using exactly for Konsole?

I would like to know what shell I’m using, so I executed echo $SHELL :

echo $SHELL
/bin/bash

But the tittle of Konsole and the output of screenfetch says that I’m using zsh and neofetch says that I’m using bash.
(I can’t upload screenshots because the website don’t allow me to do it.)

██████████████████ ████████ xiaopangju@xiaopangju-k84ly
██████████████████ ████████ OS: Manjaro 21.3.0 Ruah
██████████████████ ████████ Kernel: x86_64 Linux 5.15.48-1-MANJARO
██████████████████ ████████ Uptime: 6h 57m
████████ ████████ Packages: 1557
████████ ████████ ████████ Shell: zsh 5.9
████████ ████████ ████████ Resolution: 1366x768
████████ ████████ ████████ DE: KDE 5.94.0 / Plasma 5.24.5
████████ ████████ ████████ WM: KWin
████████ ████████ ████████ GTK Theme: Breeze [GTK2/3]
████████ ████████ ████████ Icon Theme: breeze
████████ ████████ ████████ Disk: 85G / 232G (39%)
████████ ████████ ████████ CPU: Intel Celeron B815 @ 2x 1.6GHz [63.0°C]
████████ ████████ ████████ GPU: AMD CAICOS (DRM 2.50.0 / 5.15.48-1-MANJARO, LLVM 13.0.1)
RAM: 1544MiB / 1949MiB
██████████████████ ████████ xiaopangju@xiaopangju-k84ly
██████████████████ ████████ ---------------------------
██████████████████ ████████ OS: Manjaro Linux x86_64
██████████████████ ████████ Host: K84LY 1.0
████████ ████████ Kernel: 5.15.48-1-MANJARO
████████ ████████ ████████ Uptime: 6 hours, 58 mins
████████ ████████ ████████ Packages: 1557 (pacman)
████████ ████████ ████████ Shell: bash 5.1.16
████████ ████████ ████████ Resolution: 1366x768
████████ ████████ ████████ DE: Plasma 5.24.5
████████ ████████ ████████ WM: KWin
████████ ████████ ████████ Theme: [Plasma], Breeze [GTK2/3]
████████ ████████ ████████ Icons: [Plasma], breeze [GTK2/3]
████████ ████████ ████████ Terminal: konsole
CPU: Intel Celeron B815 (2) @ 1.600GHz
GPU: AMD ATI Radeon HD 6400M/7400M Series
Memory: 1375MiB / 1949MiB

How to know which shell I’m using exactly? I am puzzled by this.

Similar threads:

echo $SHELL

Will not work as expected on modern KDE with Konsole. It can’t show which shell you are using in Konsole. It will just show which is your login shell. But Konsole might use a different shell in the window.

The only way be to sure is to check the profile for the Konsole application, your try to find the process.

Have you got inxi?

inxi -I
[keith@bug ~]$ inxi -I
Info:
  Processes: 179 Uptime: 38m Memory: 3.71 GiB used: 1.33 GiB (35.8%)
  Shell: Bash inxi: 3.3.19
[keith@bug ~]$ 

Oh well, learn something new every day.

Although, in my defense: I’ve never had any want/desire/interest in KDE, other than knowing it exists.

That “shell mismatch” is entirely manjaro’s fault. Manjaro includes custom Konsole profile where they set shell to zsh, when in reality login shell is bash.

Me too.

But this configuration is on Manjaro KDE just very special and lead numerous times to confused users.

1 Like