How to change the default shell in Linux

0 votes
How to change the default shell in Linux? Is it even possible? I want to switch to Bash.
May 24, 2019 in Linux Administration by Shubham
• 13,490 points
1,020 views

1 answer to this question.

0 votes

1. Change the password file directly for the particular user or use the following command.

chsh -s /usr/local/bin/bash username

2. Log Out.

3. Log back in.

answered May 24, 2019 by Upasana
• 8,620 points

Related Questions In Linux Administration

0 votes
1 answer

How to change the owner of any folder in Linux system?

Hi@akhtar, Linux system has one command named chown. This ...READ MORE

answered Aug 14, 2020 in Linux Administration by MD
• 95,460 points
1,320 views
0 votes
1 answer

How to change the group of a folder in Linux system?

Hi@akhtar, You can use chgrp command in your ...READ MORE

answered Aug 14, 2020 in Linux Administration by MD
• 95,460 points
1,389 views
0 votes
1 answer

How to change the current time in Linux system?

Hi@akhtar, You can use timedatectl command in your ...READ MORE

answered Sep 25, 2020 in Linux Administration by MD
• 95,460 points
666 views
0 votes
0 answers

How to change default integreated terminal in VS Code to kitty, on Linux?

I'm using kitty (it's a terminal) on ...READ MORE

Apr 26, 2022 in Linux Administration by Edureka
• 13,690 points
1,414 views
0 votes
1 answer
0 votes
1 answer
0 votes
1 answer

Adding yes/no/cancel prompts in shell script

You can use the read command. Here's ...READ MORE

answered Mar 13, 2019 in Linux Administration by ajs3033
• 7,300 points
4,250 views
0 votes
1 answer

Linux: Finding all storage devices attached to a machine

Use /proc/partitions first. This will list all ...READ MORE

answered Jun 10, 2019 in Linux Administration by Upasana
• 8,620 points
820 views
0 votes
1 answer

How to convert DOS line endings to Linux line endings in vim?

try this; :%s/\r/\r/g READ MORE

answered May 24, 2019 in Linux Administration by Upasana
• 8,620 points
1,027 views
0 votes
1 answer

generating a list of files with their absolute path in Linux

If you find an absolute path to start with, ...READ MORE

answered May 16, 2019 in Linux Administration by Upasana
• 8,620 points
1,401 views
webinar REGISTER FOR FREE WEBINAR X
REGISTER NOW
webinar_success Thank you for registering Join Edureka Meetup community for 100+ Free Webinars each month JOIN MEETUP GROUP