bash as default shell
Kevin Fries
kfries6 at gmail.com
Wed Oct 6 07:07:27 MST 2010
What shell is configured on /etc/passwd?
Kevin
On Oct 6, 2010 12:52 AM, "Mike Hoy" <mhoy06 at gmail.com> wrote:
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 - PLUG-discuss at lists.plug.phoenix.az.us
To subscribe, unsubscribe, or to change your mail settings:
http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.PLUG.phoenix.az.us/pipermail/plug-discuss/attachments/20101006/480a8fc0/attachment.html>
More information about the PLUG-discuss
mailing list