LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices


Reply
  Search this Thread
Old 05-08-2011, 10:17 AM   #1
Landshark
LQ Newbie
 
Registered: Apr 2007
Posts: 10

Rep: Reputation: 0
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

Last edited by Landshark; 05-08-2011 at 02:12 PM.
 
Old 05-08-2011, 11:22 AM   #2
AlucardZero
Senior Member
 
Registered: May 2006
Location: USA
Distribution: Debian
Posts: 4,824

Rep: Reputation: 615Reputation: 615Reputation: 615Reputation: 615Reputation: 615Reputation: 615
Are you sure you're in bash and not another shell?
 
Old 05-08-2011, 11:52 AM   #3
carltm
Member
 
Registered: Jan 2007
Location: Canton, MI
Distribution: CentOS, SuSE, Red Hat, Debian, etc.
Posts: 703

Rep: Reputation: 99
What is the output of this command?

Code:
grep ^`whoami` /etc/passwd
 
Old 05-08-2011, 02:11 PM   #4
Landshark
LQ Newbie
 
Registered: Apr 2007
Posts: 10

Original Poster
Rep: Reputation: 0
~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
 
  


Reply

Tags
bash



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
LXer: How to install Libreoffice RC1 in Ubuntu, LinuxMint, Debian and Fedora |PPA Ubuntu LXer Syndicated Linux News 0 12-06-2010 07:30 AM
LXer: Interview with Debian Developer Raphaël Hertzog: is Ubuntu beneficial for Debian? LXer Syndicated Linux News 0 12-03-2010 05:20 PM
Debian 3.1 BASH question stpierrc Debian 3 08-14-2005 11:53 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian

All times are GMT -5. The time now is 01:41 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration