check your $SHELL first

if /bin/csh,
setenv ORACLE_SID test
svrmgrl
connect internal
shutdown immediate
exit