Boston Linux & Unix (BLU) Home | Calendar | Mail Lists | List Archives | Desktop SIG | Hardware Hacking SIG
Wiki | Flickr | PicasaWeb | Video | Maps & Directions | Installfests | Keysignings
Linux Cafe | Meeting Notes | Blog | Linux Links | Bling | About BLU

BLU Discuss list archive


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bash question



Someone wrote:
| > Other distros (I know at least redhat-based ones) have sh as
| > just a symlink to bash, and don't do the 'strict sh' syntax
| > by default even if arg[0] is 'sh' instead of 'bash'.
|
| > So that .profile line might work on some linux systems and
| > not others.

On my ubuntu system here (heron), /bin/sh is a symlink to  /bin/dash,
for which there is a man page that starts off explaining that it is a
project to strictly implement the POSIX definition of sh.

It's a bit weird that you'd  get  /bin/sh  when  you  login,  if  the
/etc/passwd file has bash as your login shell.  Is this really what's
going on?  I'd think that the login program would run  your  declared
shell, but it sounds like this isn't true any more.


--
I ??? Unicode






BLU is a member of BostonUserGroups
BLU is a member of BostonUserGroups
We also thank MIT for the use of their facilities.

Valid HTML 4.01! Valid CSS!



Boston Linux & Unix / webmaster@blu.org