Re: ~/.profile
On Sun, Jan 01, 2012 at 09:30:55PM GMT, peasthope@shaw.ca wrote:
> > ... executed with /bin/sh which is not bash by default.
>
> Understood; but why does the installer put these and no .dashrc?
>
> peter@joule:~$ ls ~/.*ash*
> /home/peter/.bash_history /home/peter/.bash_logout /home/peter/.bashrc
1. You confused two things - system $SHELL (sh or /bin/sh) and user login
shell are not the same thing.
2. By default, user login shell is /bin/bash.
3. When new user account is being created by the installer, files are
being copied from /etc/skel to new user's $HOME.
4. root has /bin/sh as its $SHELL
Every time you create an account using high-level adduser utility
/bin/bash is being suggested, when using low-level useradd utility
however /bin/sh is the default.
Hope this sheds some light.
Regards,
--
Raf
Reply to: