LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Debian (https://www.linuxquestions.org/questions/debian-26/)
-   -   Bash from Ubuntu to Debian 6 (https://www.linuxquestions.org/questions/debian-26/bash-from-ubuntu-to-debian-6-a-879481/)

Landshark 05-08-2011 10:17 AM

Bash from Ubuntu to Debian 6
 
Hello,

There is going to be a simple answer to this, but I can't figure out what I'm missing. Here's the deal:

I'm in the process of switching from Ubuntu 10.04 to Debian 6.0. The install went pretty well after some tinkering, but I want to replicate my bash environment from Ubuntu to the new Debian system.

I've copied over my /etc/bash.bashrc and my /etc/profile. I renamed my ~/.bashrc, logged out and back in, and expected to have my original shell environment because I would be defaulting to the system-wide settings in /etc.

Instead, the stock Debian environment remains: No completion, only the $ prompt, no up-arrow history, etc. I don't get what it's reading from and why /etc/bash.bashrc isn't being accessed. (Bash completion is installed.)

What am I missing? Thanks for any insight, because my productivity bites without my usual bash environment.

landshark

AlucardZero 05-08-2011 11:22 AM

Are you sure you're in bash and not another shell?

carltm 05-08-2011 11:52 AM

What is the output of this command?

Code:

grep ^`whoami` /etc/passwd

Landshark 05-08-2011 02:11 PM

~blush~

Yeah, wrong shell. I didn't think of that. Assumptions can be dangerous, eh?

I ran:

chsh -s /bin/bash

in order to change the default shell to bash, but once I figure out how to configure dash or csh I will change it again.

Thanks for the insight

landshark


All times are GMT -5. The time now is 03:50 PM.