bash as default shell

Top Page
Attachments:
Message as email
+ (text/plain)
Delete this message
Reply to this message
Author: Mike Hoy
Date:  
To: Main PLUG discussion list
Subject: bash as default shell
my hard drive has /home on a different partition
it was failing fsck and to simplify I backed up my /home contents to a
backup hdd and then set it up again

how to I use 'bash' when /etc/shells already shows me using /bin/bash?

vim /home/dio/.bashrc
alias clearl="clear && ls -l"
~$ clearl
-bash: clearl: command not found
in terminal
~$ echo $SHELL
/bin/bash

so I change to bash anyway:
~$ bash
~$ clearl (works fine)

I've done this:

chsh -s /bin/bash
password ***
no luck

but I can type bash manually and I'm goold

~$ echo $PATH
/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/home/dio/sh:/home/dio/


cat ~/.bashrc
alias clearl="clear && ls -l"








--
Mike Hoy
---------------------------------------------------
PLUG-discuss mailing list -
To subscribe, unsubscribe, or to change your mail settings:
http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss