bash as default shell

Mike Hoy mhoy06 at gmail.com
Tue Oct 5 23:52:34 MST 2010


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


More information about the PLUG-discuss mailing list