#!/bin/csh echo the process ID is $$ echo the name of the script is $0 echo the first argument is $1 echo the second argument is $2 echo the third argument is $3 echo the fourth argument is $4 echo the fifth argument is $5 echo all the arguments are $* shift echo the first argument is $1 echo the second argument is $2 echo the third argument is $3 echo the fourth argument is $4 echo the fifth argument is $5 echo all the arguments are $* shift echo the first argument is $1 echo the second argument is $2 echo the third argument is $3 echo the fourth argument is $4 echo the fifth argument is $5 echo all the arguments are $* date > $0.$$ ls -l $0.$$ cat $0.$$ rm $0.$$