Path: utzoo!utgpu!news-server.csri.toronto.edu!clyde.concordia.ca!uunet!mcsun!hp4nl!charon!dik From: dik@cwi.nl (Dik T. Winter) Newsgroups: comp.unix.wizards Subject: Re: What is a good way to do general execs? Message-ID: <1651@charon.cwi.nl> Date: 15 Jun 90 00:08:02 GMT References: <3449@auspex.auspex.com> <805@ehviea.ine.philips.nl> <3459@auspex.auspex.com> Sender: news@cwi.nl Organization: CWI, Amsterdam Lines: 21 In article <3459@auspex.auspex.com> guy@auspex.auspex.com (Guy Harris) writes: > > Invocation. > > If the first character of argument zero is -, commands are > > read from $HOME/.profile, if such a file exists. > > I consider "login shell" basically short for "shell with the first > character of argument zero a '-'" (which means that any shell fired up > by "login" is a login shell, but so are shells fired up by e.g. "su" > when run with the appropriate flag). I considered the more detailed > explanation unnecessary and extraneous in this case.... It is indeed extraneous in the context; but I think your position is flawed. Try: PATH=$PATH:. ln -s /bin/sh -sh -sh Now, when you consider this to be a login shell, it becomes another matter, but I think that it is non-intuitive naming. -- dik t. winter, cwi, amsterdam, nederland dik@cwi.nl