#!/bin/bash
#
#
echo "the first para is $1"
echo "the second para is $2"
echo "the third para is $3"
echo "the number of para is $#"
echo "the para are $*"
echo "the PID is $$"
echo "the last PID is $!"
echo "the shell current options are $-"
echo "the exit status is $?"
[root@centostest myshell]# ./mytrans.sh a b c d
the first para is a
the second para is b
the third para is c
the number of para is 4
the para are a b c d
the PID is 2349
the last PID is
the shell current options are hB
the exit status is 0