setting variable on Bourne-shell startup

Jim Rogers jimr at hp-lsd.COS.HP.COM
Fri Sep 14 02:31:11 AEST 1990


If you have a BSD system (or others such as HP-UX) you can use the "chsh"
command to change your default login shell.

If you want the Bourne shell as your default then give the command:

chsh $LOGNAME /bin/sh

Henceforth your login shell will be the Bourne shell.
The valid values for shell names used with "chsh" are:
	/bin/sh
	/bin/csh
	/bin/ksh


Jim Rogers
Hewlett Packard Company



More information about the Comp.unix.questions mailing list