You are not logged in.

#1 2022-07-28 14:43:59

Amunlee
Member
Registered: 2022-07-28
Posts: 2

Shell not changed?

I want to change my shell from bash to fish,user mode failed,but root succeeded.
"chsh -s /usr/bin/fish" , shell not changed
And when I use "chsh -l",

[lee@dell ~]$ chsh -l
/bin/sh
/bin/bash
/bin/zsh
/usr/bin/zsh
/usr/bin/git-shell
/usr/bin/fish

echo $SHELL, /usr/bin/fish
show my shell has changed,but it really has not changed

Last edited by Amunlee (2022-07-28 14:44:56)

Offline

#2 2022-07-28 16:39:26

seth
Member
From: Don't DM me only for attention
Registered: 2012-09-03
Posts: 74,333

Re: Shell not changed?

echo $SHELL, /usr/bin/fish
show my shell has changed,but it really has not changed

And how would you determine that the shell hasn't "really" changed? What's your metric here? You claim that it doesn't change but then only show evidence to the contrary.

grep $(id -un) /etc/passwd
cat /proc/$$/cmdline
ps fax | grep -C5 fish

Offline

#3 2022-07-29 00:21:02

Amunlee
Member
Registered: 2022-07-28
Posts: 2

Re: Shell not changed?

https://img1.imgtp.com/2022/07/29/qeM8iaQf.png
I'm not sure what the commands you gave me mean, when I use echo, it shows /usr/bin/fish, konsole can create a new tab, and at the bottom it tells me that I don't have fish.

Mod note: please don't embed large images, post the the link or a thumbnail instead. -- WorMzy

Last edited by WorMzy (2022-07-29 11:38:53)

Offline

#4 2022-07-29 01:32:23

Adriik
Member
From: Argentina
Registered: 2022-03-10
Posts: 134

Re: Shell not changed?

Maybe I'm going to say something very dumb, but from wiki:

If you now log out and log in again, you will be greeted by the other shell.

Did you log out and log in?

And don't post pictures of text, post the actual text in code tags.


Solo soy un loco más. Please use [code] [/code] tags.
Command cheatsheetCommand not found?
If I write something wrong in English, please correct me.

Offline

Board footer

Powered by FluxBB