This program prints the shell of the owner of the current task (the user
who runs the getsh program). I find it useful for scripts which need to
know what the user's shell is, e.g., in my S:Shell-Startup I have the
following lines.
IF `getsh` EQ "unix:usr/local/bin/csh"
unix:usr/local/bin/csh
endcli
ENDIF
So if the user's prefered shell is csh, it will be ran, rather than the
standard AmigaShell.
Legal stuff: You are free to use/modify this program for your own needs.
Requirements:
This program requires MultiUser (© Copyright 1993-1994 by Geert Uytterhoeven).
|