$ echo $SHELL /bin/bash $ setenv No command 'setenv' found, did you mean: Command 'netenv' from package 'netenv' (universe) setenv: command not found $ csh % setenv | tail -n 1 _=/bin/csh % #### $ cat test #!/bin/csh echo "trying to use setenv" setenv | tail -n 1 $ ./test trying to use setenv _=./test