A shell by any other name...

Doug Gwyn <gwyn> gwyn at brl-tgr.ARPA
Sun Sep 9 11:20:31 AEST 1984


If the shell thinks it is a "login shell" then it will source .profile
before processing regular commands.  Usually this test is just that
argv[0] begins with a dash `-'.  Try linking sh to -sh, for example,
then invoking -sh.



More information about the Comp.unix.wizards mailing list