Skip to main content
grammar tweaks
Source Link
Jeff Schaller
  • 68.8k
  • 35
  • 122
  • 265

I am trying to jump between zsh and bash.

By default, I have zsh as my shell, I can know this by typing:

echo $SHELL and I get /bin/zsh

However, I wannawant to open Bash, so I type /bin/bash, so; I assume I am in bash now, but Ifif I echo $SHELL I still get /bin/zsh

What's wrong, please?

I am trying to jump between zsh and bash.

By default, I have zsh as my shell, I can know this by typing:

echo $SHELL and I get /bin/zsh

However, I wanna open Bash, so I type /bin/bash, so I assume I am in bash now, but If I echo $SHELL I still get /bin/zsh

What's wrong please?

I am trying to jump between zsh and bash.

By default, I have zsh as my shell, I can know this by typing:

echo $SHELL and I get /bin/zsh

However, I want to open Bash, so I type /bin/bash; I assume I am in bash now, but if I echo $SHELL I still get /bin/zsh

What's wrong, please?

Tweeted twitter.com/StackUnix/status/1136422769024012288
Became Hot Network Question
Source Link

SHELL environment variable still points to zsh after using bash

I am trying to jump between zsh and bash.

By default, I have zsh as my shell, I can know this by typing:

echo $SHELL and I get /bin/zsh

However, I wanna open Bash, so I type /bin/bash, so I assume I am in bash now, but If I echo $SHELL I still get /bin/zsh

What's wrong please?