~ $ which which /usr/bin/which ~ $ cat te #!/usr/bin/which sh echo testing "$@" #print "I am running .. ", $^O ~ $ ./te /bin/sh ./te ~ $ ./te abcde /bin/sh ./te ~ $