[UCLA-LUG] tcsh

Josh Barratt jbarratt@ucla.edu
Mon, 14 Feb 2000 08:57:27 -0800


> When I discovered this little "feature", I was not in the mood to grope around
> in the tcsh manpage on the SEAS machine and switched to bash promptly.  (oooh,
> bad pun...)  It's /usr/local/bin/bash, in case you want to whip out chsh...
> (if you change shell, telnet localhost first to make sure the shell does come
> up, before logging off seasnet; don't want to find out too late that the bin is
> not found/executable)

Uh, chsh has a neat little feature that avoids that problem . . . 
let's say you thought bash was in /usr/local/bin/ instead of /usr/bin. Just run chsh interactively (w/ no command line opts.)

>[ubu@ginsu ubu]$ chsh
>Changing shell for ubu.
>Password:
>New shell [/bin/bash]: /usr/local/bin/bash
>chsh: "/usr/local/bin/bash" does not exist.

Anyway  . . .

    Josh