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 in Linux Administration by Shubham
• 13,110 points
12 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 by Upasana
• 8,410 points

Related Questions In Linux Administration

0 votes
1 answer

How to find the group associated with a user in linux?

To list all the groups groups or to list ...READ MORE

answered Jun 20 in Linux Administration by DareDev
• 6,810 points
11 views
0 votes
1 answer
0 votes
1 answer

How to get octal file permission in linux?

You can use this: stat -c "%a %n" ...READ MORE

answered Jan 3 in Linux Administration by Omkar
• 67,120 points
65 views
0 votes
1 answer

How to create a symlink in Linux?

To create a symbolic link, you can ...READ MORE

answered Jan 31 in Linux Administration by Omkar
• 67,120 points
49 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 12 in Linux Administration by ajs3033
• 7,240 points
25 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 in Linux Administration by Upasana
• 8,410 points
14 views
0 votes
1 answer
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 in Linux Administration by Upasana
• 8,410 points
25 views